From 5965ac9bdd41bff8f3b0da47befeefefa4f5c089 Mon Sep 17 00:00:00 2001 From: Franzz Date: Tue, 25 Jan 2022 23:06:28 +0100 Subject: [PATCH] Remove get_magic_quotes_gpc (php 8) --- inc/ToolBox.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/inc/ToolBox.php b/inc/ToolBox.php index 741eb25..0c1f5ea 100755 --- a/inc/ToolBox.php +++ b/inc/ToolBox.php @@ -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)