Skip to content

Commit

Permalink
MDL-73719 themes: Redundant theme_reset_all_caches callback.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 authored and stronk7 committed Feb 3, 2022
1 parent a2e4be3 commit 9636ca7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion theme/boost/settings.php
Expand Up @@ -32,7 +32,6 @@
$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.
Expand Down
1 change: 0 additions & 1 deletion theme/classic/settings.php
Expand Up @@ -38,7 +38,6 @@
// 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.
Expand Down

0 comments on commit 9636ca7

Please sign in to comment.