MDL-57232 blocks: Split undeletableblocktypes
commit9d1402abd8aba96cb5ad18a76c13146deeace2a6
authorDamyon Wiese <damyon@moodle.com>
Fri, 2 Dec 2016 02:00:43 +0000 (2 10:00 +0800)
committerDamyon Wiese <damyon@moodle.com>
Fri, 2 Dec 2016 04:32:03 +0000 (2 12:32 +0800)
treeff985a97b673e948e2fe5dcb6f4b0dd46d4c4bcb
parenta0352aa95e292813d787aa8ea599ddc739d6c991
MDL-57232 blocks: Split undeletableblocktypes

There are 2 kinds of blocks that are undeletable. Those required by the
theme and those protected via the admin page ui. We only want the theme
ones to be auto created site wide if they don't exist - so we need to
rename the theme ones and split the logic.
admin/blocks.php
lib/blocklib.php
lib/outputlib.php
lib/tests/blocklib_test.php
theme/boost/config.php
theme/upgrade.txt