]> git.mjollnir.org Git - moodle.git/commit
MDL-11521 fixed problems when creating contexts and aprents does not exist yet
authorskodak <skodak>
Fri, 5 Oct 2007 15:06:38 +0000 (15:06 +0000)
committerskodak <skodak>
Fri, 5 Oct 2007 15:06:38 +0000 (15:06 +0000)
commit7d0c81b3bac6457d88863c2589f84320ca3ec246
treea514c5fe76a6dc1454bfdd4d4bb138082f568967
parentbb49f77b84ef80178bc876a46ed9d11c234bb9e5
MDL-11521 fixed problems when creating contexts and aprents does not exist yet
MDL-11527 fixed warning from $CFG->defaultuserroleid when installing and upgrading
+ removed reusing of previous contexts in has_capability() and get_context_instance()  because it was hiding critical errors when context was false, not specified, etc.
+ tweaked roles defaults - faster and defaults are applied when roles exist
+ SYSCONTEXTID may be specified in config.php to eliminate 1 db query
+ static context cache is now reset after rebuilding of context paths
+ path field in context table is now nullable - pg compatibility requirement
+ other minor fixes
admin/settings/users.php
lib/accesslib.php
lib/db/install.xml
lib/db/mysql.php
lib/db/postgres7.php
lib/db/upgrade.php
lib/setup.php
lib/weblib.php
version.php