From 66019194f76bc574eeafa113880e2253d2d3b478 Mon Sep 17 00:00:00 2001 From: Benni Mack Date: Thu, 2 Aug 2018 08:28:02 +0200 Subject: [PATCH] [BUGFIX] LocalizationFactory use new trigger_error call MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Seems like this one was forgotten, don't know how this could ever happen. Resolves: #85721 Releases: master Change-Id: I1c6bef0433c4b7ecf169ce83da2dc44ca4e4ef70 Reviewed-on: https://review.typo3.org/57769 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Tested-by: TYPO3com Reviewed-by: Łukasz Uznański Tested-by: Łukasz Uznański Reviewed-by: Tymoteusz Motylewski Tested-by: Tymoteusz Motylewski --- typo3/sysext/core/Classes/Localization/LocalizationFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/core/Classes/Localization/LocalizationFactory.php b/typo3/sysext/core/Classes/Localization/LocalizationFactory.php index 530274ee6ca0..4cfb1bd0701b 100644 --- a/typo3/sysext/core/Classes/Localization/LocalizationFactory.php +++ b/typo3/sysext/core/Classes/Localization/LocalizationFactory.php @@ -81,7 +81,7 @@ class LocalizationFactory implements \TYPO3\CMS\Core\SingletonInterface 'lang/Resources/Private/Language/locallang_tcemain.xlf' => 'workspaces/Resources/Private/Language/locallang_tcemain.xlf', ]; $filePath = substr($fileReference, 4); - GeneralUtility::deprecationLog('There is a reference to "' . $fileReference . '", which has been moved to "EXT:' . $mapping[$filePath] . '". This fallback will be removed with TYPO3 v10.'); + trigger_error('There is a reference to "' . $fileReference . '", which has been moved to "EXT:' . $mapping[$filePath] . '". This fallback will be removed with TYPO3 v10.', E_USER_DEPRECATED); $fileReference = 'EXT:' . $mapping[$filePath]; } -- 2.20.1