mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Merge branch 'MDL-78459' of https://github.com/paulholden/moodle
This commit is contained in:
commit
827ba96806
@ -30,7 +30,6 @@
|
||||
define('NO_DEBUG_DISPLAY', true);
|
||||
|
||||
require_once(__DIR__ . '/../../../config.php');
|
||||
use tool_mobile\api;
|
||||
|
||||
header('Content-Type: application/json; charset: utf-8');
|
||||
|
||||
@ -40,7 +39,9 @@ if (!empty($CFG->enablemobilewebservice) && !empty($mobilesettings->enablesmarta
|
||||
!empty($mobilesettings->androidappid)) {
|
||||
|
||||
$manifest = new StdClass;
|
||||
$manifest->short_name = format_string($SITE->shortname);
|
||||
$manifest->short_name = format_string($SITE->shortname, true, [
|
||||
'context' => \core\context\system::instance(),
|
||||
]);
|
||||
$manifest->prefer_related_applications = true;
|
||||
$manifest->icons = [(object)
|
||||
[
|
||||
|
Loading…
x
Reference in New Issue
Block a user