From 168b2bd5beed27835f428222e7532ea57afca8c1 Mon Sep 17 00:00:00 2001
From: Kathrin Osswald <kathrin.osswald@uni-ulm.de>
Date: Wed, 30 Sep 2020 09:18:47 +0200
Subject: [PATCH] Adjusted settings.php due to upstream changes in theme Boost
 settings.

---
 CHANGES.md   | 1 +
 settings.php | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGES.md b/CHANGES.md
index 72cbcdb..9cc1b3e 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 b49af13..d08399d 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);
 
-- 
GitLab