aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmilio Wuerges <wuerges@gmail.com>2021-07-30 21:04:12 +0000
committerEmilio Wuerges <wuerges@gmail.com>2021-07-30 21:04:12 +0000
commit04d99c0683615d730d57375ec8be53065704f894 (patch)
tree9efef525852fe3ea24e6565ac9c0b3f5a86559b4 /src
parentea7ceb9b977ed075fab3712e9b46e23695ce856b (diff)
downloadboca-04d99c0683615d730d57375ec8be53065704f894.tar.gz
boca-04d99c0683615d730d57375ec8be53065704f894.zip
Since PHP 7, the function get_magic_quotes_gpc() was deprecated and
always returned false. Thus, the code removed by the commit is unreachable. In PHP8 the function was removed.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/globals.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/globals.php b/src/globals.php
index da34c1a..b7cecd4 100755
--- a/src/globals.php
+++ b/src/globals.php
@@ -24,10 +24,6 @@ function sanitizeVariables(&$item, $key)
{
if (!is_array($item))
{
- // undoing 'magic_quotes_gpc = On' directive
- if (get_magic_quotes_gpc())
- $item = stripcslashes($item);
-
$item = sanitizeText($item);
}
}