diff --git a/CHANGES.md b/CHANGES.md index 72cbcdb941365d4d6b55fbdf1e86b1725cb27a65..9cc1b3e7a467a1271a015ae109c781d8d463a875 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ Changes ### Unreleased +* 2020-09-30 - Adjusted settings.php due to upstream changes in theme Boost settings. * 2020-09-28 - Added setting to be able to enable the initial Boost Campus back to top button instead of the new Boost Go to top button. * 2020-09-25 - Fixed Bug that content bank view page cog icon showed course context menu entries. NOTE: This is just a kind of hacky interim solution until MDL-69793 is done. diff --git a/settings.php b/settings.php index b49af1300a9dd4baa10b665ed4c948ad841c220f..d08399dd54c07da738410b4adc52c370dc8b810f 100644 --- a/settings.php +++ b/settings.php @@ -60,7 +60,7 @@ if ($ADMIN->fulltree) { $choices['default.scss'] = 'default.scss'; $choices['plain.scss'] = 'plain.scss'; - $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); + $setting = new admin_setting_configthemepreset($name, $title, $description, $default, $choices, 'boost_campus'); $setting->set_updatedcallback('theme_reset_all_caches'); $page->add($setting);