diff options
Diffstat (limited to 'chat/lib')
-rw-r--r-- | chat/lib/class/AJAXChat.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/chat/lib/class/AJAXChat.php b/chat/lib/class/AJAXChat.php index 0457c44..b65623b 100644 --- a/chat/lib/class/AJAXChat.php +++ b/chat/lib/class/AJAXChat.php @@ -86,18 +86,6 @@ class AJAXChat { // Initialize custom request variables: $this->initCustomRequestVars(); - - // Remove slashes which have been added to user input strings if magic_quotes_gpc is On: - if(get_magic_quotes_gpc()) { - // It is safe to remove the slashes as we escape user data ourself - array_walk( - $this->_requestVars, - create_function( - '&$value, $key', - 'if(is_string($value)) $value = stripslashes($value);' - ) - ); - } } function initDataBaseConnection() { |