diff --git a/admin/tool/mobile/classes/api.php b/admin/tool/mobile/classes/api.php index 9ef98e1527a..43c84645fb9 100644 --- a/admin/tool/mobile/classes/api.php +++ b/admin/tool/mobile/classes/api.php @@ -277,6 +277,7 @@ class api { $settings->tool_mobile_customlangstrings = get_config('tool_mobile', 'customlangstrings'); $settings->tool_mobile_disabledfeatures = get_config('tool_mobile', 'disabledfeatures'); $settings->tool_mobile_custommenuitems = get_config('tool_mobile', 'custommenuitems'); + $settings->tool_mobile_apppolicy = get_config('tool_mobile', 'apppolicy'); } return $settings; diff --git a/admin/tool/mobile/tests/externallib_test.php b/admin/tool/mobile/tests/externallib_test.php index 0b8873bdcf1..d5a8a344758 100644 --- a/admin/tool/mobile/tests/externallib_test.php +++ b/admin/tool/mobile/tests/externallib_test.php @@ -173,6 +173,7 @@ class tool_mobile_external_testcase extends externallib_advanced_testcase { array('name' => 'tool_mobile_customlangstrings', 'value' => ''), array('name' => 'tool_mobile_disabledfeatures', 'value' => ''), array('name' => 'tool_mobile_custommenuitems', 'value' => ''), + array('name' => 'tool_mobile_apppolicy', 'value' => ''), ); $this->assertCount(0, $result['warnings']); $this->assertEquals($expected, $result['settings']);