From 8e3243b185af59164958eae7e5195f32d46fe870 Mon Sep 17 00:00:00 2001 From: Brian Teeman Date: Sat, 23 Mar 2019 18:01:18 +0000 Subject: [PATCH] [4.0] Remove magic quotes (#24320) Final removal of remnants of magic quotes related code as magic quotes was completely removed in php 5.4 there can never be an instance when it will be triggered in j4 --- administrator/language/en-GB/en-GB.ini | 1 - tests/Unit/bootstrap.php | 3 --- 2 files changed, 4 deletions(-) diff --git a/administrator/language/en-GB/en-GB.ini b/administrator/language/en-GB/en-GB.ini index aabe99e0334e3..27e82cc1e0a27 100644 --- a/administrator/language/en-GB/en-GB.ini +++ b/administrator/language/en-GB/en-GB.ini @@ -171,7 +171,6 @@ JERROR_LAYOUT_PREVIOUS_ERROR="Previous Error" JERROR_LOADFILE_FAILED="Error loading form file" JERROR_LOADING_MENUS="Error loading Menus: %s" JERROR_LOGIN_DENIED="You do not have access to the Administrator section of this site." -JERROR_MAGIC_QUOTES="Your host needs to disable magic_quotes_gpc to run this version of Joomla!" JERROR_NO_ITEMS_SELECTED="No item(s) selected." JERROR_NOLOGIN_BLOCKED="Login denied! Your account has either been blocked or you have not activated it yet." JERROR_SENDING_EMAIL="Email could not be sent." diff --git a/tests/Unit/bootstrap.php b/tests/Unit/bootstrap.php index 8831de0e61fea..450db1c7ac901 100644 --- a/tests/Unit/bootstrap.php +++ b/tests/Unit/bootstrap.php @@ -11,9 +11,6 @@ define('_JEXEC', 1); -// Fix magic quotes. -ini_set('magic_quotes_runtime', 0); - // Maximise error reporting. ini_set('zend.ze1_compatibility_mode', '0'); error_reporting(E_ALL);