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:
martinlanghoff 2007-09-20 03:23:12 +00:00
parent ba82dd3134
commit 21f10eb03e

View File

@ -1545,6 +1545,7 @@ function load_all_capabilities() {
} else if (isloggedin()) {
check_enrolment_plugins($USER);
$ad = get_user_access_sitewide($USER->id);