From 939bbfa4cc211fc2d490f411c84838cbc241aa81 Mon Sep 17 00:00:00 2001 From: bwdutton Date: Sun, 24 May 2020 14:31:33 -0700 Subject: [PATCH] remove magic function setting checks, PHP 7.4 drops these settings --- system/libraries/Input.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/system/libraries/Input.php b/system/libraries/Input.php index fa984a88..5b053750 100644 --- a/system/libraries/Input.php +++ b/system/libraries/Input.php @@ -65,20 +65,6 @@ class Input_Core { if (Input::$instance === NULL) { - // magic_quotes_runtime is enabled - if (get_magic_quotes_runtime()) - { - @set_magic_quotes_runtime(0); - Kohana_Log::add('debug', 'Disable magic_quotes_runtime! It is evil and deprecated: http://php.net/magic_quotes'); - } - - // magic_quotes_gpc is enabled - if (get_magic_quotes_gpc()) - { - $this->magic_quotes_gpc = TRUE; - Kohana_Log::add('debug', 'Disable magic_quotes_gpc! It is evil and deprecated: http://php.net/magic_quotes'); - } - if (is_array($_GET)) { foreach ($_GET as $key => $val)