mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
MDL-56607 settings: Remove Mobile settings from WS overview
This commit is contained in:
parent
0c6c86643e
commit
9d92a3a6ba
@ -739,7 +739,6 @@ $string['mnetrestore_extusers_admin'] = '<strong>Note:</strong> This backup file
|
||||
$string['mnetrestore_extusers_mismatch'] = '<strong>Note:</strong> This backup file apparently originates from a different Moodle installation and contains remote Moodle Network user accounts that may fail to restore. This operation is unsupported. If you are certain that it was created on this Moodle installation, or you can ensure that all the needed Moodle Network Hosts are configured, you may want to still try the restore.';
|
||||
$string['mnetrestore_extusers_noadmin'] = '<strong>Note:</strong> This backup file seems to come from a different Moodle installation and contains remote Moodle Network user accounts. You are not allowed to execute this type of restore. Contact the administrator of the site or, alternatively, restore this course without any user information (modules, files...)';
|
||||
$string['mnetrestore_extusers_switchuserauth'] = 'Remote Moodle Network user {$a->username} (coming from {$a->mnethosturl}) switched to local {$a->auth} authenticated user.';
|
||||
$string['mobile'] = 'Mobile';
|
||||
$string['modchooserdefault'] = 'Activity chooser default';
|
||||
$string['modeditdefaults'] = 'Default values for activity settings';
|
||||
$string['modsettings'] = 'Manage activities';
|
||||
@ -1231,3 +1230,5 @@ $string['cachesession'] = 'Session cache';
|
||||
$string['cachesessionhelp'] = 'User specific cache that expires when the user\'s session ends. Designed to alleviate session bloat/strain.';
|
||||
$string['cacheapplication'] = 'Application cache';
|
||||
$string['cacheapplicationhelp'] = 'Cached items are shared among all users and expire by a determined time to live (ttl).';
|
||||
// Deprecated since Moodle 3.2.
|
||||
$string['mobile'] = 'Mobile';
|
||||
|
@ -35,3 +35,4 @@ downloadtsv,core_table
|
||||
downloadxhtml,core_table
|
||||
invalidpersistent,core_competency
|
||||
revealpassword,core_form
|
||||
mobile,core_admin
|
@ -68,7 +68,6 @@ $string['editservice'] = 'Edit the service: {$a->name} (id: {$a->id})';
|
||||
$string['enabled'] = 'Enabled';
|
||||
$string['enabledocumentation'] = 'Enable developer documentation';
|
||||
$string['enabledocumentationdescription'] = 'Detailed web services documentation is available for enabled protocols.';
|
||||
$string['enablemobilewsoverview'] = 'Go to {$a->manageservicelink} administration page, check the "{$a->enablemobileservice}" setting and Save. Everything will be setup for you and all site\'s users will be able to use the offical Moodle app. Current status: {$a->wsmobilestatus}';
|
||||
$string['enableprotocols'] = 'Enable protocols';
|
||||
$string['enableprotocolsdescription'] = 'At least one protocol should be enabled. For security reasons, only protocols that are to be used should be enabled.';
|
||||
$string['enablews'] = 'Enable web services';
|
||||
@ -125,8 +124,6 @@ $string['missingpassword'] = 'Missing password';
|
||||
$string['missingrequiredcapability'] = 'The capability {$a} is required.';
|
||||
$string['missingusername'] = 'Missing username';
|
||||
$string['missingversionfile'] = 'Coding error: version.php file is missing for the component {$a}';
|
||||
$string['mobilewsdisabled'] = 'Disabled';
|
||||
$string['mobilewsenabled'] = 'Enabled';
|
||||
$string['nameexists'] = 'This name is already in use by another service';
|
||||
$string['nocapabilitytouseparameter'] = 'The user does not have the required capability to use the parameter {$a}';
|
||||
$string['nofunctions'] = 'This service has no functions.';
|
||||
|
@ -8415,22 +8415,6 @@ class admin_setting_webservicesoverview extends admin_setting {
|
||||
$return = "";
|
||||
$brtag = html_writer::empty_tag('br');
|
||||
|
||||
// Enable mobile web service
|
||||
$enablemobile = new admin_setting_enablemobileservice('enablemobilewebservice',
|
||||
get_string('enablemobilewebservice', 'admin'),
|
||||
get_string('configenablemobilewebservice',
|
||||
'admin', ''), 0); //we don't want to display it but to know the ws mobile status
|
||||
$manageserviceurl = new moodle_url("/admin/settings.php?section=mobile");
|
||||
$wsmobileparam = new stdClass();
|
||||
$wsmobileparam->enablemobileservice = get_string('enablemobilewebservice', 'admin');
|
||||
$wsmobileparam->manageservicelink = html_writer::link($manageserviceurl,
|
||||
get_string('mobile', 'admin'));
|
||||
$mobilestatus = $enablemobile->get_setting()?get_string('mobilewsenabled', 'webservice'):get_string('mobilewsdisabled', 'webservice');
|
||||
$wsmobileparam->wsmobilestatus = html_writer::tag('strong', $mobilestatus);
|
||||
$return .= $OUTPUT->heading(get_string('enablemobilewebservice', 'admin'), 3, 'main');
|
||||
$return .= $brtag . get_string('enablemobilewsoverview', 'webservice', $wsmobileparam)
|
||||
. $brtag . $brtag;
|
||||
|
||||
/// One system controlling Moodle with Token
|
||||
$return .= $OUTPUT->heading(get_string('onesystemcontrolling', 'webservice'), 3, 'main');
|
||||
$table = new html_table();
|
||||
|
Loading…
x
Reference in New Issue
Block a user