MDL-73233 tool_mobile: Return enabledashboard setting
External function tool_mobile::get_config now returns the enabledashboard setting.
This commit is contained in:
@@ -340,6 +340,10 @@ class api {
|
||||
$settings->coursegraceperiodbefore = $CFG->coursegraceperiodbefore;
|
||||
}
|
||||
|
||||
if (empty($section) || $section === 'navigation') {
|
||||
$settings->enabledashboard = $CFG->enabledashboard;
|
||||
}
|
||||
|
||||
return $settings;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user