mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-73719 themes: Redundant theme_reset_all_caches callback.
This commit is contained in:
parent
a2e4be3620
commit
9636ca7e36
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user