mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
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.