From 7facd526b1c47c07a31e1d2fdc4ef1d0459bbb8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 9 Dec 2015 07:50:02 +0100 Subject: [PATCH] Remove code for PHP < 5.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- libraries/common.inc.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libraries/common.inc.php b/libraries/common.inc.php index c92b983c22..4b1cfe3f37 100644 --- a/libraries/common.inc.php +++ b/libraries/common.inc.php @@ -82,17 +82,6 @@ $PMA_String = new PMA_String(); */ $GLOBALS['error_handler'] = new ErrorHandler(); -/** - * This setting was removed in PHP 5.4. But at this point PMA_PHP_INT_VERSION - * is not yet defined so we use another way to find out the PHP version. - */ -if (version_compare(phpversion(), '5.4', 'lt')) { - /** - * Avoid problems with magic_quotes_runtime - */ - @ini_set('magic_quotes_runtime', 'false'); -} - /** * core functions */