Skip to content

Commit

Permalink
MDL-61669 tool_mobile: New app policy setting
Browse files Browse the repository at this point in the history
  • Loading branch information
jleyva committed Apr 24, 2018
1 parent 6fa694b commit acee831
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions admin/tool/mobile/lang/en/tool_mobile.php
Expand Up @@ -25,6 +25,8 @@
$string['adodbdebugwarning'] = 'ADOdb debugging is enabled. It should be disabled in the external database authentication or external database enrolment plugin settings.';
$string['androidappid'] = 'Android app\'s unique identifier';
$string['androidappid_desc'] = 'This setting may be left as default unless you have a custom Android app.';
$string['apppolicy'] = 'App policy URL';
$string['apppolicy_help'] = 'The URL of a policy for app users which is listed on the About page in the app. If the field is left empty, the site policy URL will be used instead.';
$string['autologinkeygenerationlockout'] = 'Auto-login key generation is blocked. You need to wait 6 minutes between requests.';
$string['autologinnotallowedtoadmins'] = 'Auto-login is not allowed for site admins.';
$string['cachedef_plugininfo'] = 'This stores the list of plugins with mobile addons';
Expand Down
3 changes: 3 additions & 0 deletions admin/tool/mobile/settings.php
Expand Up @@ -43,6 +43,9 @@
new lang_string('configenablemobilewebservice', 'admin', $enablemobiledoclink), $default));
}

$temp->add(new admin_setting_configtext('tool_mobile/apppolicy', new lang_string('apppolicy', 'tool_mobile'),
new lang_string('apppolicy_help', 'tool_mobile'), '', PARAM_URL));

$ADMIN->add('mobileapp', $temp);

// Show only mobile settings if the mobile service is enabled.
Expand Down
2 changes: 1 addition & 1 deletion version.php
Expand Up @@ -29,7 +29,7 @@

defined('MOODLE_INTERNAL') || die();

$version = 2018042100.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2018042100.01; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.

Expand Down

0 comments on commit acee831

Please sign in to comment.