MDL-43528 remove all traces of magic quotes hacking from moodle core

This commit is contained in:
Petr Škoda
2014-01-02 10:15:06 +08:00
parent bbb291b7b7
commit 3e5226ab6e
8 changed files with 0 additions and 80 deletions
-4
View File
@@ -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'])) {