Skip to content

Commit 5f55620

Browse files
authored
Remove depricated and unused code
The function `get_magic_quotes_gpc` is deprecated in PHP 7.4. As the $code variable is directly overwritten, the deprecated function can be safely removed, IMO.
1 parent cd9ad42 commit 5f55620

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

index.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ function runCode($__source_code, $__bootstrap_file)
7373
}
7474

7575
if (isset($_POST['code'])) {
76-
if (get_magic_quotes_gpc()) {
77-
$code = stripslashes($code);
78-
}
79-
8076
$code = $_POST['code'];
8177

8278
// if there's only one line wrap it into a krumo() call

0 commit comments

Comments
 (0)