]> git.mjollnir.org Git - moodle.git/commit
MDL-11640
authorskodak <skodak>
Tue, 9 Oct 2007 12:49:54 +0000 (12:49 +0000)
committerskodak <skodak>
Tue, 9 Oct 2007 12:49:54 +0000 (12:49 +0000)
commit128f0984184c18d3e4fc4062aa61482d8a87d22e
tree81e156e9cb7395f86ef4d0aa57d8fc1bd8bcc77c
parenta7bf255c507a9f2fcdb73398df74a615cc36ae55
MDL-11640
* improved handling of dirty contexts in general - caching, switching in cron, marking, loading, etc.
* role_assing() and role_unassign() now marks dirty contexts because we use has_capability() in this function - we can not do it later outside to speedup bulk operations
* fixed some inline docs
* fixed notice from rs closing
* removed cached $CONTEXT from has_capability() - $context is now required parameter; this was hiding serious bugs when context did not exist or ppl passed false as parameter
* removed some ===, we can not use these on function parameters - we must support ints, strings, '', nulls, etc. - this could be a source of really dangerous bugs in future
* some other improvements and fixes - documented inline
admin/roles/assign.php
course/unenrol.php
enrol/mnet/enrol.php
enrol/paypal/ipn.php
lib/accesslib.php
lib/deprecatedlib.php
lib/moodlelib.php