diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2020-05-08 11:01:28 +0000 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2020-05-08 11:01:28 +0000 |
commit | a1a9ea40c5772db048420a48bbdea825ee103836 (patch) | |
tree | d16262eb7c4d3611a7e1cde7d40d2a76021a4260 | |
parent | f171d2a46c1e2afe3577bc11307068f3c729d0ab (diff) |
php7 compat: remove set_magic_quotes_runtime
-rw-r--r-- | common.php | 1 | ||||
-rw-r--r-- | includes/lib/class.soap_transport_http.php | 1 | ||||
-rw-r--r-- | includes/lib/nusoap.php | 1 | ||||
-rw-r--r-- | includes/nusoap.php | 1 | ||||
-rw-r--r-- | install.php | 1 |
5 files changed, 0 insertions, 5 deletions
@@ -21,7 +21,6 @@ setcookie('herefirst', 'yes'); error_reporting (E_ALL ^ E_NOTICE);
// Disable magic quotes and add slashes to global arrays
-set_magic_quotes_runtime(0);
if ( get_magic_quotes_gpc() == 0 )
{
$_GET = slash_global_data($_GET);
diff --git a/includes/lib/class.soap_transport_http.php b/includes/lib/class.soap_transport_http.php index ac1e0b7..1150866 100644 --- a/includes/lib/class.soap_transport_http.php +++ b/includes/lib/class.soap_transport_http.php @@ -359,7 +359,6 @@ class soap_transport_http extends nusoap_base { $this->outgoing_headers['Connection'] = 'close';
$this->persistentConnection = false;
}
- set_magic_quotes_runtime(0);
// deprecated
$this->encoding = $enc;
}
diff --git a/includes/lib/nusoap.php b/includes/lib/nusoap.php index 51191cd..6168d13 100644 --- a/includes/lib/nusoap.php +++ b/includes/lib/nusoap.php @@ -2091,7 +2091,6 @@ class soap_transport_http extends nusoap_base { $this->outgoing_headers['Connection'] = 'close';
$this->persistentConnection = false;
}
- set_magic_quotes_runtime(0);
// deprecated
$this->encoding = $enc;
}
diff --git a/includes/nusoap.php b/includes/nusoap.php index a784c6a..70a8813 100644 --- a/includes/nusoap.php +++ b/includes/nusoap.php @@ -2095,7 +2095,6 @@ class soap_transport_http extends nusoap_base { $this->outgoing_headers['Connection'] = 'close';
$this->persistentConnection = false;
}
- set_magic_quotes_runtime(0);
// deprecated
$this->encoding = $enc;
}
diff --git a/install.php b/install.php index edfdd6a..ef24652 100644 --- a/install.php +++ b/install.php @@ -17,7 +17,6 @@ define('EQDKP_INC', true);
error_reporting(E_ALL);
-set_magic_quotes_runtime(0);
if ( !get_magic_quotes_gpc() )
{
$_GET = slash_global_data($_GET);
|