diff --git a/theme/boost/settings.php b/theme/boost/settings.php index 46f9d9a4aca..70890ca6893 100644 --- a/theme/boost/settings.php +++ b/theme/boost/settings.php @@ -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. diff --git a/theme/classic/settings.php b/theme/classic/settings.php index 40cad98ae81..1affb11f31e 100644 --- a/theme/classic/settings.php +++ b/theme/classic/settings.php @@ -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.