MDL-57409 tool_mobile: Return mobileapp settings in get_config WS

This commit is contained in:
Juan Leyva
2017-01-09 12:19:29 +01:00
parent fb0add0456
commit 7bdcf970bc
2 changed files with 7 additions and 2 deletions
+4
View File
@@ -202,6 +202,10 @@ class api {
$settings->mygradesurl = user_mygrades_url()->out(false);
}
if (empty($section) or $section == 'mobileapp') {
$settings->tool_mobile_forcelogout = get_config('tool_mobile', 'forcelogout');
}
return $settings;
}