mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
accesslib: load_all_capabilities() - remember to check_enrolment_plugins()!
When setting up accessdata for a newly-logged-in user, call the enrolment plugins. Thanks to Matt Clarkson for the heads up. Affects: MDL-11180
This commit is contained in:
parent
ba82dd3134
commit
21f10eb03e
@ -1545,6 +1545,7 @@ function load_all_capabilities() {
|
||||
|
||||
} else if (isloggedin()) {
|
||||
|
||||
check_enrolment_plugins($USER);
|
||||
|
||||
$ad = get_user_access_sitewide($USER->id);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user