MDL-43528 remove all traces of magic quotes hacking from moodle core
This commit is contained in:
@@ -108,10 +108,6 @@ $config = new stdClass();
|
||||
$config->lang = $lang;
|
||||
|
||||
if (!empty($_POST)) {
|
||||
if (install_ini_get_bool('magic_quotes_gpc')) {
|
||||
$_POST = array_map('stripslashes', $_POST);
|
||||
}
|
||||
|
||||
$config->stage = (int)$_POST['stage'];
|
||||
|
||||
if (isset($_POST['previous'])) {
|
||||
|
||||
Reference in New Issue
Block a user