MDL-78426 core_theme: Move theme's settings to theme card
Theme selector and theme settings have been renamed. Theme admin section has been removed and contents merged into Appearance category.
This commit is contained in:
@@ -368,7 +368,7 @@ class api {
|
||||
$settings->enabledashboard = $CFG->enabledashboard;
|
||||
}
|
||||
|
||||
if (empty($section) || $section === 'themesettings') {
|
||||
if (empty($section) || ($section === 'themesettings' || $section === 'themesettingsadvanced')) {
|
||||
$settings->customusermenuitems = $CFG->customusermenuitems;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user