MDL-69810 tool_mobile: Return support contact information via WS

This commit is contained in:
Juan Leyva
2020-10-02 21:02:10 +02:00
parent 87afa4d759
commit 09cc128f95
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -323,6 +323,12 @@ class api {
}
}
if (empty($section) or $section == 'supportcontact') {
$settings->supportname = $CFG->supportname;
$settings->supportemail = $CFG->supportemail;
$settings->supportpage = $CFG->supportpage;
}
return $settings;
}