]> git.mjollnir.org Git - moodle.git/commit
lib/setup: restore sanity to rcache handling
authormartinlanghoff <martinlanghoff>
Sun, 6 Jan 2008 22:56:07 +0000 (22:56 +0000)
committermartinlanghoff <martinlanghoff>
Sun, 6 Jan 2008 22:56:07 +0000 (22:56 +0000)
commitb1df0eb2cec4425c8ea8c4b6ca3c9a657cdcee63
tree711fb21bedea4578484dc5a61db0726c4eb26e48
parent944a2c938f3b3cf7b38c47ad6764e46420a58cab
lib/setup: restore sanity to rcache handling

$CFG->rcache is safe to keep, even as we are reading the config table.

This is because whenever we update the config table, all the rcache
plugins either mark the cache as dirty or they update the cache.

The reason we want to be able to preserve this is that rcache settings
in CFG should usually be set in config.php rather than in the config
table.

With this fix, we support both control points.
lib/setup.php