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:
@@ -1545,6 +1545,7 @@ function load_all_capabilities() {
|
||||
|
||||
} else if (isloggedin()) {
|
||||
|
||||
check_enrolment_plugins($USER);
|
||||
|
||||
$ad = get_user_access_sitewide($USER->id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user