]> git.mjollnir.org Git - moodle.git/commit
This new function called load_all_capabilities() should be used whenever
authormoodler <moodler>
Mon, 23 Oct 2006 15:17:31 +0000 (15:17 +0000)
committermoodler <moodler>
Mon, 23 Oct 2006 15:17:31 +0000 (15:17 +0000)
commit2f1a42481db375f8d8d0e8c93b017345cb23062a
tree521b8c557e724d02b291043f32ee392166b780a1
parent18894ee462eb637e1241801c860f688f3b0bf9d2
This new function called load_all_capabilities() should be used whenever
you want to completely reload the capabilities for the current user.

Basically it will deal nicely with the default site-wide permissions
depending on the current user.

More background in the comments on MDL-6963

Merged from stable
admin/user.php
course/enrol.php
course/loginas.php
enrol/paypal/return.php
lib/accesslib.php
login/index.php