Remove get_magic_quotes_gpc (php 8)

This commit is contained in:
2022-01-25 23:06:28 +01:00
parent 4c1cd60426
commit 5965ac9bdd

View File

@@ -15,11 +15,7 @@ class ToolBox
public static function cleanPost(&$asData)
{
//get rid of magic quotes
if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())
{
$asData = self::cleanData($asData, 'stripslashes');
}
}
public static function cleanData($oData, $sCleaningFunc)