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)