Remove magic quotes reference

This function is removed in PHP 8
This commit is contained in:
Alexander Yakovlev 2024-06-09 13:19:58 +06:00
parent 757b116a77
commit 20a8c2f7a5
Signed by: oreolek
GPG key ID: 8269E24B4008E32A

View file

@ -238,14 +238,6 @@ class Engine
$this->iTimeInit = microtime(true);
$this->SetUseAutoHooks(Config::Get('sys.module.use_auto_hooks'));
$this->AutoloadRegister();
if (function_exists('get_magic_quotes_gpc')) {
if (get_magic_quotes_gpc()) {
func_stripslashes($_REQUEST);
func_stripslashes($_GET);
func_stripslashes($_POST);
func_stripslashes($_COOKIE);
}
}
}
/**