Skip to content

Commit

Permalink
MDL-81609 enrol: Set readonlysession for core_enrol_get_potential_users
Browse files Browse the repository at this point in the history
  • Loading branch information
marxjohnson committed Apr 25, 2024
1 parent f0c1a37 commit d107c14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,8 @@
'description' => 'Get the list of potential users to enrol',
'ajax' => true,
'type' => 'read',
'capabilities' => 'moodle/course:enrolreview'
'capabilities' => 'moodle/course:enrolreview',
'readononlysession' => true,
),
'core_enrol_search_users' => [
'classname' => 'core_enrol_external',
Expand Down

0 comments on commit d107c14

Please sign in to comment.