From cd01191072abc5dfe07245c768a39e3977d612bd Mon Sep 17 00:00:00 2001 From: czaks Date: Thu, 5 May 2016 11:45:29 +0200 Subject: [PATCH] those parts are extraneous --- inc/mod/auth.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/inc/mod/auth.php b/inc/mod/auth.php index 8bfaea8f..009e93ad 100644 --- a/inc/mod/auth.php +++ b/inc/mod/auth.php @@ -212,17 +212,4 @@ function check_login($prompt = false) { 'boards' => explode(',', $user['boards']) ); } - - if ($config['debug']) - $parse_start_time = microtime(true); - - // Fix for magic quotes - if (get_magic_quotes_gpc()) { - function strip_array($var) { - return is_array($var) ? array_map('strip_array', $var) : stripslashes($var); - } - - $_GET = strip_array($_GET); - $_POST = strip_array($_POST); - } }