[BUGFIX] use namespaces and correct path to locallang files 77/55577/2
authorCybercraft <info@cybercraft.de>
Tue, 6 Feb 2018 14:02:48 +0000 (15:02 +0100)
committerJo Hasenau <info@cybercraft.de>
Tue, 6 Feb 2018 18:01:10 +0000 (19:01 +0100)
Resolves: #83783
Releases: master, 8-0
Change-Id: Ie6c93494d3f730e0ee1afb280f8c7d7c14dae3c9
Reviewed-on: https://review.typo3.org/55577
Reviewed-by: Jo Hasenau <info@cybercraft.de>
Tested-by: Jo Hasenau <info@cybercraft.de>
ext_localconf.php

index 97dbcc2..e5137ca 100644 (file)
@@ -27,9 +27,9 @@ if ($_EXTCONF_ARRAY['enable_stat_hook']) {
   $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks']['tx_l10nmgr'] = 'EXT:l10nmgr/Classes/Hooks/Tcemain.php:&Tcemain->stat';
 }
 // Add file cleanup task
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['LocalizationmanagerFileGarbageCollection'] = array(
-  'extension' => $_EXTKEY,
-  'title' => 'LLL:EXT:' . $_EXTKEY . 'Resources/Private/Language/Task/locallang.xml:fileGarbageCollection.name',
-  'description' => 'LLL:EXT:' . $_EXTKEY . 'Resources/Private/Language/Task/locallang.xml:fileGarbageCollection.description',
-  'additionalFields' => 'LocalizationmanagerFileGarbageCollectionAdditionalFieldProvider',
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['Localizationteam\\L10nmgr\\Task\\LocalizationmanagerFileGarbageCollection'] = array(
+    'extension' => $_EXTKEY,
+    'title' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/Task/locallang.xlf:fileGarbageCollection.name',
+    'description' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/Task/locallang.xlf:fileGarbageCollection.description',
+    'additionalFields' => 'LocalizationmanagerFileGarbageCollectionAdditionalFieldProvider',
 );