Skip to content
Permalink
Browse files

accesslib:reload_all_capabilities() - force a reload of mycourses

unset $USER->mycourses to force a reload of mycourses too.
  • Loading branch information...
martinlanghoff
martinlanghoff committed Sep 19, 2007
1 parent d32dd61 commit 54f9d9aee78023f03be0971d28ae8d624837768c
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/accesslib.php
@@ -1596,6 +1596,7 @@ function reload_all_capabilities() {
}
unset($USER->access);
unset($USER->mycourses);
load_all_capabilities();

0 comments on commit 54f9d9a

Please sign in to comment.
You can’t perform that action at this time.