mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-62640 admin: Remove the slasharguments admin setting
This commit is contained in:
parent
97c2beae70
commit
3b9fa14c78
8
.upgradenotes/MDL-62640-2024082910232464.yml
Normal file
8
.upgradenotes/MDL-62640-2024082910232464.yml
Normal file
@ -0,0 +1,8 @@
|
||||
issueNumber: MDL-62640
|
||||
notes:
|
||||
core_admin:
|
||||
- message: >-
|
||||
The HTTP Server setting "Use slash arguments" (slasharguments) configuration setting and related
|
||||
to it has been removed. Calling the option with $CFG->slasharguments or
|
||||
get_config('slasharguments') is no longer available.
|
||||
type: removed
|
@ -150,8 +150,6 @@ if ($hassiteconfig) {
|
||||
|
||||
// HTTP.
|
||||
$temp = new admin_settingpage('http', new lang_string('http', 'admin'));
|
||||
$temp->add(new admin_setting_configcheckbox('slasharguments', new lang_string('slasharguments', 'admin'),
|
||||
new lang_string('configslasharguments', 'admin'), 1));
|
||||
$temp->add(new admin_setting_heading('reverseproxy', new lang_string('reverseproxy', 'admin'), '', ''));
|
||||
$options = [
|
||||
0 => 'HTTP_CLIENT_IP, HTTP_X_FORWARDED_FOR, REMOTE_ADDR',
|
||||
|
@ -382,7 +382,6 @@ $string['configsitedefaultlicensehelp'] = 'The default licence for publishing co
|
||||
$string['configsitemailcharset'] = 'This setting specifies the default charset for all emails sent from the site.';
|
||||
$string['configsitemaxcategorydepth'] = 'Maximum category depth';
|
||||
$string['configsitemaxcategorydepthhelp'] = 'This specifies the maximum depth of child categories expanded when displaying categories or combo list. Deeper level categories will appear as links and user can expand them with AJAX request.';
|
||||
$string['configslasharguments'] = '\'Slash arguments\' (using <em>PATH_INFO</em>) is required for SCORM packages and multiple-file resources to display correctly. If your web server doesn\'t support \'slash arguments\' and you are unable to configure it, this setting can be disabled, though it will result in things not working.<br />Note: The use of \'slash arguments\' will be required in future versions of Moodle.';
|
||||
$string['configsmtpauthtype'] = 'This sets the authentication type to use on SMTP server.';
|
||||
$string['configsmtpoauthservice'] = 'Select the OAuth 2 service that is configured to talk to the SMTP server. If the service doesn\'t exist yet, you will need to create it. Note that you need to set the SMTP Auth Type to XOAUTH2.';
|
||||
$string['configsmtphosts'] = 'Give the full name of one or more local SMTP servers that Moodle should use to send mail (eg \'mail.a.com\' or \'mail.a.com;mail.b.com\'). To specify a non-default port (i.e other than port 25), you can use the [server]:[port] syntax (eg \'mail.a.com:587\'). For secure connections, port 465 is usually used with SSL, port 587 is usually used with TLS, specify security protocol below if required. If you leave this field blank, Moodle will use the PHP default method of sending mail.';
|
||||
@ -1311,7 +1310,6 @@ $string['sitepolicyguest_help'] = 'The URL of the site policy that all guests mu
|
||||
$string['sitesectionhelp'] = 'Display a section at the top of the page where you can add custom content.';
|
||||
$string['sixtyfourbitsrequired'] = 'It has been detected that your site is not using a 64-bit PHP version. You are required to upgrade your system (operating system, PHP...) before installing this Moodle version.';
|
||||
$string['sixtyfourbitswarning'] = 'It has been detected that your site is not using a 64-bit PHP version. It is recommended that you upgrade your site to ensure future compatibility.';
|
||||
$string['slasharguments'] = 'Use slash arguments';
|
||||
$string['slashargumentswarning'] = 'It is recommended that the use of slash arguments is enabled. In future it will be required. For more details, see the documentation <a href="https://docs.moodle.org/en/admin/environment/slasharguments">Using slash arguments</a>.';
|
||||
$string['smallscreensonly'] = 'Small screens only';
|
||||
$string['smtp'] = 'SMTP';
|
||||
@ -1659,8 +1657,10 @@ $string['moodleservices'] = 'Moodle services';
|
||||
$string['moodleservices_help'] = 'Make sure you get the best from your Moodle learning environment by using these Moodle services:';
|
||||
|
||||
// Deprecated since Moodle 4.5.
|
||||
$string['configslasharguments'] = '\'Slash arguments\' (using <em>PATH_INFO</em>) is required for SCORM packages and multiple-file resources to display correctly. If your web server doesn\'t support \'slash arguments\' and you are unable to configure it, this setting can be disabled, though it will result in things not working.<br />Note: The use of \'slash arguments\' will be required in future versions of Moodle.';
|
||||
$string['registration_help'] = 'By registering:
|
||||
|
||||
* You will receive security alerts
|
||||
* You can activate mobile app push notifications from your site
|
||||
* You are contributing to our Moodle statistics of the worldwide community';
|
||||
$string['slasharguments'] = 'Use slash arguments';
|
||||
|
@ -130,3 +130,5 @@ cannotsetpassword,core_error
|
||||
registerwithmoodleorginfoapp,core_hub
|
||||
registration_help,core_admin
|
||||
coursemanagementoptions,core_my
|
||||
configslasharguments,core_admin
|
||||
slasharguments,core_admin
|
||||
|
@ -1421,5 +1421,13 @@ function xmldb_main_upgrade($oldversion) {
|
||||
upgrade_main_savepoint(true, 2024092000.01);
|
||||
}
|
||||
|
||||
if ($oldversion < 2024092400.01) {
|
||||
// The slasharguments setting has been removed.
|
||||
unset_config('slasharguments');
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2024092400.01);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2024092400.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2024092400.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
$release = '4.5dev+ (Build: 20240924)'; // Human-friendly version name
|
||||
|
Loading…
x
Reference in New Issue
Block a user