1
0
mirror of https://github.com/moodle/moodle.git synced 2025-05-15 20:58:15 +02:00

MDL-81609 enrol: Set readonlysession for core_enrol_get_potential_users

This commit is contained in:
Mark Johnson 2024-04-24 09:00:50 +01:00
parent 792698af00
commit 78cf032d7c
No known key found for this signature in database
GPG Key ID: EB30E1468CFAE242

@ -808,7 +808,8 @@ $functions = array(
'description' => 'Get the list of potential users to enrol',
'ajax' => true,
'type' => 'read',
'capabilities' => 'moodle/course:enrolreview'
'capabilities' => 'moodle/course:enrolreview',
'readonlysession' => true,
),
'core_enrol_search_users' => [
'classname' => 'core_enrol_external',