From 1ed6121866528a94abc0c76afcbc60bbd44980a9 Mon Sep 17 00:00:00 2001 From: Alex Yeung <47617421+aydevworks@users.noreply.github.com> Date: Wed, 2 Aug 2023 14:44:58 +0100 Subject: [PATCH] [Docs] Update assignment submit capability name --- docs/apis/subsystems/enrol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apis/subsystems/enrol.md b/docs/apis/subsystems/enrol.md index b9392aae65..661039e071 100644 --- a/docs/apis/subsystems/enrol.md +++ b/docs/apis/subsystems/enrol.md @@ -99,7 +99,7 @@ function get_enrolled_users( Get all users who are able to submit an assignment: ```php -$submissioncandidates = get_enrolled_users($modcontext, 'mod/assignment:submit'); +$submissioncandidates = get_enrolled_users($modcontext, 'mod/assign:submit'); ```