diff options
Diffstat (limited to 'phpBB/common.php')
-rw-r--r-- | phpBB/common.php | 13 |
1 files changed, 0 insertions, 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 |