MDL-73719 themes: Redundant theme_reset_all_caches callback.

This commit is contained in:
Gareth Barnard 2022-02-01 15:30:46 +00:00 committed by Eloy Lafuente (stronk7)
parent a2e4be3620
commit 9636ca7e36
2 changed files with 0 additions and 2 deletions

View File

@ -32,7 +32,6 @@ if ($ADMIN->fulltree) {
$default = 'navigation,settings,course_list,section_links';
$setting = new admin_setting_configtext('theme_boost/unaddableblocks',
get_string('unaddableblocks', 'theme_boost'), get_string('unaddableblocks_desc', 'theme_boost'), $default, PARAM_TEXT);
$setting->set_updatedcallback('theme_reset_all_caches');
$page->add($setting);
// Preset.

View File

@ -38,7 +38,6 @@ if ($ADMIN->fulltree) {
// Unaddable blocks.
$setting = new admin_setting_configtext('theme_classic/unaddableblocks',
get_string('unaddableblocks', 'theme_boost'), get_string('unaddableblocks_desc', 'theme_boost'), '', PARAM_TEXT);
$setting->set_updatedcallback('theme_reset_all_caches');
$page->add($setting);
// Preset.