You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MDL-73700 core: remove unused functions and strings from installer
While searching for no longer needed PHP 5.x & 7.0 checks, the
`phpversionhelp` lang string and, subsequently, the `memorylimithelp`
lang string and the `install_helpbutton()` and
`install_print_help_page()` functions were discovered. According to
comments on MDL-2787 and MDL-64482 they are no longer in use since
Moodle 1.x (approximately), neither reachable since some good versions
ago. With MDL-17458 (commit 3b09331),
the function `print_compatibility_row()` was gone, and it seems like it
was the only place calling `install_helpbutton()`. And
`install_helpbutton()` was the only place where a link to the help mode
(e.g. `install.php?help=$helpfield`) ever surfaced. As both lang
strings and functions are particular to the installer and never could
have been used outside of it, we are going for direct deletion instead
of regular deprecation.
Signed-off-by: Daniel Ziegenberg <[email protected]>
<p>However, on some servers this will prevent <b>all</b> PHP pages from working
170
-
(you will see errors when you look at pages) so you\'ll have to remove the .htaccess file.</p></li>
171
-
</ol>';
172
153
$string['mysqliextensionisnotpresentinphp'] = 'PHP has not been properly configured with the MySQLi extension for it to communicate with MySQL. Please check your php.ini file or recompile PHP.';
173
154
$string['nativeauroramysql'] = 'Aurora MySQL (native/auroramysql)';
174
155
$string['nativeauroramysqlhelp'] = '<p>The database is where most of the Moodle settings and data are stored and must be configured here.</p>
@@ -218,9 +199,6 @@
218
199
$string['pgsqlextensionisnotpresentinphp'] = 'PHP has not been properly configured with the PGSQL extension so that it can communicate with PostgreSQL. Please check your php.ini file or recompile PHP.';
219
200
$string['phpextension'] = '{$a} PHP extension';
220
201
$string['phpversion'] = 'PHP version';
221
-
$string['phpversionhelp'] = '<p>Moodle requires a PHP version of at least 5.6.5 or 7.1 (7.0.x has some engine limitations).</p>
222
-
<p>You are currently running version {$a}.</p>
223
-
<p>You must upgrade PHP or move to a host with a newer version of PHP.</p>';
224
202
$string['releasenoteslink'] = 'For information about this version of Moodle, please see the release notes at {$a}';
225
203
$string['safemode'] = 'Safe mode';
226
204
$string['safemodeerror'] = 'Moodle may have trouble with safe mode on';
0 commit comments