[AMOS commit] MDL-35964 blocks: prevent undeletable blocks being deleted! Committed into Git: 2012-10-10 13:28 UTC

[AMOS commit] MDL-35964 blocks: prevent undeletable blocks being deleted! Committed into Git: 2012-10-10 13:28 UTC

by AMOS bot -
Number of replies: 0
Author: Tim Hunt
MDL-35964 blocks: prevent undeletable blocks being deleted!
This commit simplifies the logic, so that $CFG->undeletableblocks
applies to all blocks, not just ones on certain page types in the
system context.

It also makes the setting apply to adding blocks, so you cannot
accidentally add a block that you cannot delete.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=1c76fc96d15e22b939b48d0e7efc4e3c8f797268
http://github.com/moodle/moodle/commit/1c76fc96d15e22b939b48d0e7efc4e3c8f797268

+ 2.4 en [blockprotect,core_admin]
+ 2.4 en [blockprotect_help,core_admin]