Merge branch 'MDL-74825-master' of https://github.com/rmady/moodle
This commit is contained in:
@@ -344,6 +344,10 @@ class api {
|
||||
$settings->enabledashboard = $CFG->enabledashboard;
|
||||
}
|
||||
|
||||
if (empty($section) || $section === 'themesettings') {
|
||||
$settings->customusermenuitems = $CFG->customusermenuitems;
|
||||
}
|
||||
|
||||
return $settings;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user