From 895059928ca60147646d609f0d6e5ca8662e7377 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 3 Feb 2004 14:14:53 +0000 Subject: [PATCH] Addslash function no longer needed with request_var processing git-svn-id: file:///svn/phpbb/trunk@4790 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/common.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/phpBB/common.php b/phpBB/common.php index c10f209fe2..29c10a5917 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -290,17 +290,4 @@ if ($config['board_disable'] && !defined('IN_ADMIN') && !defined('IN_LOGIN')) trigger_error($message); } -// addslashes to vars if magic_quotes_gpc is off -function slash_input_data(&$data) -{ - if (is_array($data)) - { - foreach ($data as $k => $v) - { - $data[$k] = (is_array($v)) ? slash_input_data($v) : addslashes($v); - } - } - return $data; -} - ?> \ No newline at end of file