summaryrefslogtreecommitdiffstats
path: root/chat/lib
diff options
context:
space:
mode:
authorPhil <frugen@gmail.com>2017-01-05 21:23:46 -0500
committerGitHub <noreply@github.com>2017-01-05 21:23:45 -0500
commitd2fcf98e1a1147b69181f10bdb8c4ce0c7590588 (patch)
tree6e07390eba981664dbdffc4525604664dd3d3574 /chat/lib
parente9cd9c9f84f336700b1a8bd6711d3f5744aebd81 (diff)
parent4e0594870c1fe0ac3390292825308eb593119bb8 (diff)
downloadAJAX-Chat-master.zip
AJAX-Chat-master.tar.gz
AJAX-Chat-master.tar.bz2
Merge pull request #252 from Jugolo/patch-1HEADorigin/masterorigin/HEADmaster
Remove get_magic_quotes_gpc
Diffstat (limited to 'chat/lib')
-rw-r--r--chat/lib/class/AJAXChat.php12
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() {