[TASK] Improve description for EidUtility deprecation 45/57945/2
authorWouter Wolters <typo3@wouterwolters.nl>
Fri, 17 Aug 2018 11:39:42 +0000 (13:39 +0200)
committerJan Helke <typo3@helke.de>
Fri, 17 Aug 2018 12:20:03 +0000 (14:20 +0200)
Resolves: #85878
Releases: master
Change-Id: If35be25607823ab40ad1dc91843bc60562e6752f
Reviewed-on: https://review.typo3.org/57945
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
typo3/sysext/frontend/Classes/Utility/EidUtility.php

index a17914f..31609fb 100644 (file)
@@ -43,7 +43,7 @@ class EidUtility
      */
     public static function initFeUser()
     {
-        trigger_error('EidUtility::initFeUser() will be removed in TYPO3 v10. Ensure to intantiate the LanguageService by yourself.', E_USER_DEPRECATED);
+        trigger_error('EidUtility::initFeUser() will be removed in TYPO3 v10. Use a PSR-15 middleware instead.', E_USER_DEPRECATED);
         // Get TSFE instance. It knows how to initialize the user.
         $tsfe = self::getTSFE();
         $tsfe->fe_user = GeneralUtility::makeInstance(FrontendUserAuthentication::class);
@@ -118,7 +118,7 @@ class EidUtility
      */
     public static function initExtensionTCA($extensionKey)
     {
-        trigger_error('This method will be removed in TYPO3 v10 as it is discouraged to only load ext_tables.php of one extension. Use ExtensionManagementUtility instead.', E_USER_DEPRECATED);
+        trigger_error('EidUtility::initExtensionTCA() will be removed in TYPO3 v10 as it is discouraged to only load ext_tables.php of one extension. Use ExtensionManagementUtility instead.', E_USER_DEPRECATED);
         $extTablesPath = ExtensionManagementUtility::extPath($extensionKey, 'ext_tables.php');
         if (file_exists($extTablesPath)) {
             $GLOBALS['_EXTKEY'] = $extensionKey;