[TASK] Rename ExtensionManager class
authorHelmut Hummel <helmut.hummel@typo3.org>
Sat, 3 Nov 2012 18:47:14 +0000 (19:47 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sat, 3 Nov 2012 18:52:00 +0000 (19:52 +0100)
The class ExtensionManager is actually a utility
to manage extensions. Rename it to better reflect
it's purpose.

Resolves: #42661
Releases: 6.0

Change-Id: I1b1ab1c99a57cdfdc780905988d8317b0dc36f37
Reviewed-on: http://review.typo3.org/16175
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
19 files changed:
typo3/sysext/workspaces/Classes/Controller/AbstractController.php
typo3/sysext/workspaces/Classes/Controller/PreviewController.php
typo3/sysext/workspaces/Classes/Controller/ReviewController.php
typo3/sysext/workspaces/Classes/ExtDirect/Server.php
typo3/sysext/workspaces/Classes/ExtDirect/WorkspaceSelectorToolbarItem.php
typo3/sysext/workspaces/Classes/Service/AutoPublish.php
typo3/sysext/workspaces/Classes/Service/AutoPublishTask.php
typo3/sysext/workspaces/Classes/Service/Befunc.php
typo3/sysext/workspaces/Classes/Service/CleanupPreviewLinkTask.php
typo3/sysext/workspaces/Classes/Service/Fehooks.php
typo3/sysext/workspaces/Classes/Service/GridData.php
typo3/sysext/workspaces/Classes/Service/History.php
typo3/sysext/workspaces/Classes/Service/Integrity.php
typo3/sysext/workspaces/Classes/Service/Stages.php
typo3/sysext/workspaces/Classes/Service/Tcemain.php
typo3/sysext/workspaces/Classes/Service/Workspaces.php
typo3/sysext/workspaces/ext_autoload.php
typo3/sysext/workspaces/ext_localconf.php
typo3/sysext/workspaces/ext_tables.php

index e1fa7b2..d3b7395 100644 (file)
@@ -71,7 +71,7 @@ class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControl
                $this->pageRenderer->addInlineSetting('Workspaces', 'id', $this->pageId);
                $this->pageRenderer->addInlineSetting('Workspaces', 'depth', $this->pageId === 0 ? 999 : 1);
                $this->pageRenderer->addInlineSetting('Workspaces', 'language', $this->getLanguageSelection());
-               $this->pageRenderer->addCssFile(\TYPO3\CMS\Core\Extension\ExtensionManager::extRelPath('workspaces') . 'Resources/Public/StyleSheet/module.css');
+               $this->pageRenderer->addCssFile(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('workspaces') . 'Resources/Public/StyleSheet/module.css');
                $this->pageRenderer->addInlineLanguageLabelArray(array(
                        'title' => $GLOBALS['LANG']->getLL('title'),
                        'path' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.path'),
index a7c0c06..cc1b999 100644 (file)
@@ -56,7 +56,7 @@ class PreviewController extends \TYPO3\CMS\Workspaces\Controller\AbstractControl
                $this->stageService = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Workspaces\\Service\\StagesService');
                $this->workspaceService = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Workspaces\\Service\\WorkspaceService');
                $this->template->setExtDirectStateProvider();
-               $resourcePath = \TYPO3\CMS\Core\Extension\ExtensionManager::extRelPath('workspaces') . 'Resources/Public/StyleSheet/preview.css';
+               $resourcePath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('workspaces') . 'Resources/Public/StyleSheet/preview.css';
                $GLOBALS['TBE_STYLES']['extJS']['theme'] = $resourcePath;
                $this->pageRenderer->loadExtJS();
                $this->pageRenderer->enableExtJSQuickTips();
@@ -71,7 +71,7 @@ class PreviewController extends \TYPO3\CMS\Workspaces\Controller\AbstractControl
                $this->pageRenderer->addJsFile($this->backPath . '../t3lib/js/extjs/ux/flashmessages.js');
                $this->pageRenderer->addJsFile($this->backPath . 'js/extjs/iframepanel.js');
                $this->pageRenderer->addJsFile($this->backPath . '../t3lib/js/extjs/notifications.js');
-               $resourcePathJavaScript = \TYPO3\CMS\Core\Extension\ExtensionManager::extRelPath('workspaces') . 'Resources/Public/JavaScript/';
+               $resourcePathJavaScript = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('workspaces') . 'Resources/Public/JavaScript/';
                $jsFiles = array(
                        'Ext.ux.plugins.TabStripContainer.js',
                        'Store/mainstore.js',
@@ -143,7 +143,7 @@ class PreviewController extends \TYPO3\CMS\Workspaces\Controller\AbstractControl
                $this->pageRenderer->addInlineSetting('Workspaces', 'disableNextStageButton', $this->isInvalidStage($nextStage));
                $this->pageRenderer->addInlineSetting('Workspaces', 'disablePreviousStageButton', $this->isInvalidStage($previousStage));
                $this->pageRenderer->addInlineSetting('Workspaces', 'disableDiscardStageButton', $this->isInvalidStage($nextStage) && $this->isInvalidStage($previousStage));
-               $resourcePath = \TYPO3\CMS\Core\Extension\ExtensionManager::extRelPath('lang') . 'res/js/be/';
+               $resourcePath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('lang') . 'res/js/be/';
                $this->pageRenderer->addJsFile($resourcePath . 'typo3lang.js');
                $this->pageRenderer->addJsInlineCode('workspaces.preview.lll', '
                TYPO3.lang = {
@@ -161,7 +161,7 @@ class PreviewController extends \TYPO3\CMS\Workspaces\Controller\AbstractControl
                        previousStage: ' . Utility\GeneralUtility::quoteJSvalue($previousStage['title']) . '
                };TYPO3.l10n.initialize();
 ');
-               $resourcePath = \TYPO3\CMS\Core\Extension\ExtensionManager::extRelPath('workspaces') . 'Resources/Public/';
+               $resourcePath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('workspaces') . 'Resources/Public/';
                $this->pageRenderer->addJsFile($resourcePath . 'JavaScript/preview.js');
        }
 
@@ -226,7 +226,7 @@ class PreviewController extends \TYPO3\CMS\Workspaces\Controller\AbstractControl
                        'moduleMenuWidth' => $this->menuWidth - 1,
                        'topBarHeight' => isset($GLOBALS['TBE_STYLES']['dims']['topFrameH']) ? intval($GLOBALS['TBE_STYLES']['dims']['topFrameH']) : 30,
                        'showRefreshLoginPopup' => isset($GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup']) ? intval($GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup']) : FALSE,
-                       'listModulePath' => \TYPO3\CMS\Core\Extension\ExtensionManager::isLoaded('recordlist') ? \TYPO3\CMS\Core\Extension\ExtensionManager::extRelPath('recordlist') . 'mod1/' : '',
+                       'listModulePath' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('recordlist') ? \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('recordlist') . 'mod1/' : '',
                        'debugInWindow' => $GLOBALS['BE_USER']->uc['debugInWindow'] ? 1 : 0,
                        'ContextHelpWindows' => array(
                                'width' => 600,
index 671f25d..35636b4 100644 (file)
@@ -146,7 +146,7 @@ class ReviewController extends \TYPO3\CMS\Workspaces\Controller\AbstractControll
                $this->pageRenderer->addJsFile($this->backPath . '../t3lib/js/extjs/ux/Ext.grid.RowExpander.js');
                $this->pageRenderer->addJsFile($this->backPath . '../t3lib/js/extjs/ux/Ext.app.SearchField.js');
                $this->pageRenderer->addJsFile($this->backPath . '../t3lib/js/extjs/ux/Ext.ux.FitToParent.js');
-               $resourcePath = \TYPO3\CMS\Core\Extension\ExtensionManager::extRelPath('workspaces') . 'Resources/Public/JavaScript/';
+               $resourcePath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('workspaces') . 'Resources/Public/JavaScript/';
                $this->pageRenderer->addCssFile($resourcePath . 'gridfilters/css/GridFilters.css');
                $this->pageRenderer->addCssFile($resourcePath . 'gridfilters/css/RangeMenu.css');
                $jsFiles = array(
index 7c485a4..b6090f8 100644 (file)
@@ -4,5 +4,5 @@
  * and will be removed by 7.0. The class was renamed and is now located at:
  * typo3/sysext/workspaces/Classes/ExtDirect/ExtDirectServer.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces') . 'Classes/ExtDirect/ExtDirectServer.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/ExtDirect/ExtDirectServer.php';
 ?>
\ No newline at end of file
index d1b8149..921b3e0 100644 (file)
@@ -132,7 +132,7 @@ class WorkspaceSelectorToolbarItem implements \TYPO3\CMS\Backend\Toolbar\Toolbar
         * @return      void
         */
        protected function addJavascriptToBackend() {
-               $this->backendReference->addJavascriptFile(\TYPO3\CMS\Core\Extension\ExtensionManager::extRelPath('workspaces') . 'Resources/Public/JavaScript/workspacemenu.js');
+               $this->backendReference->addJavascriptFile(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('workspaces') . 'Resources/Public/JavaScript/workspacemenu.js');
        }
 
        /**
index d7d2189..c160160 100644 (file)
@@ -4,5 +4,5 @@
  * and will be removed by 7.0. The class was renamed and is now located at:
  * typo3/sysext/workspaces/Classes/Service/AutoPublishService.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces') . 'Classes/Service/AutoPublishService.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Service/AutoPublishService.php';
 ?>
\ No newline at end of file
index 871023d..13a5832 100644 (file)
@@ -4,5 +4,5 @@
  * and will be removed by 7.0. The class was renamed and is now located at:
  * typo3/sysext/workspaces/Classes/Task/AutoPublishTask.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces') . 'Classes/Task/AutoPublishTask.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Task/AutoPublishTask.php';
 ?>
\ No newline at end of file
index 5d3c5cd..23152f8 100644 (file)
@@ -4,5 +4,5 @@
  * and will be removed by 7.0. The class was renamed and is now located at:
  * typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces') . 'Classes/Hook/BackendUtilityHook.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Hook/BackendUtilityHook.php';
 ?>
\ No newline at end of file
index 86e6f48..f589c92 100644 (file)
@@ -4,5 +4,5 @@
  * and will be removed by 7.0. The class was renamed and is now located at:
  * typo3/sysext/workspaces/Classes/Task/CleanupPreviewLinkTask.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces') . 'Classes/Task/CleanupPreviewLinkTask.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Task/CleanupPreviewLinkTask.php';
 ?>
\ No newline at end of file
index 3fbef46..d550977 100644 (file)
@@ -4,5 +4,5 @@
  * and will be removed by 7.0. The class was renamed and is now located at:
  * typo3/sysext/workspaces/Classes/Hook/TypoScriptFrontendControllerHook.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces') . 'Classes/Hook/TypoScriptFrontendControllerHook.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Hook/TypoScriptFrontendControllerHook.php';
 ?>
\ No newline at end of file
index 5ced665..3a264f4 100644 (file)
@@ -4,5 +4,5 @@
  * and will be removed by 7.0. The class was renamed and is now located at:
  * typo3/sysext/workspaces/Classes/Service/GridDataService.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces') . 'Classes/Service/GridDataService.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Service/GridDataService.php';
 ?>
\ No newline at end of file
index b8770b9..6b43b6b 100644 (file)
@@ -4,5 +4,5 @@
  * and will be removed by 7.0. The class was renamed and is now located at:
  * typo3/sysext/workspaces/Classes/Service/HistoryService.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces') . 'Classes/Service/HistoryService.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Service/HistoryService.php';
 ?>
\ No newline at end of file
index 5097075..fa50110 100644 (file)
@@ -4,5 +4,5 @@
  * and will be removed by 7.0. The class was renamed and is now located at:
  * typo3/sysext/workspaces/Classes/Service/IntegrityService.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces') . 'Classes/Service/IntegrityService.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Service/IntegrityService.php';
 ?>
\ No newline at end of file
index 6906ec0..c29587a 100644 (file)
@@ -4,5 +4,5 @@
  * and will be removed by 7.0. The class was renamed and is now located at:
  * typo3/sysext/workspaces/Classes/Service/StagesService.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces') . 'Classes/Service/StagesService.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Service/StagesService.php';
 ?>
\ No newline at end of file
index 710e98f..177cba4 100644 (file)
@@ -4,5 +4,5 @@
  * and will be removed by 7.0. The class was renamed and is now located at:
  * typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces') . 'Classes/Hook/DataHandlerHook.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Hook/DataHandlerHook.php';
 ?>
\ No newline at end of file
index e3eab94..28b76f7 100644 (file)
@@ -4,5 +4,5 @@
  * and will be removed by 7.0. The class was renamed and is now located at:
  * typo3/sysext/workspaces/Classes/Service/WorkspaceService.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces') . 'Classes/Service/WorkspaceService.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Service/WorkspaceService.php';
 ?>
\ No newline at end of file
index 34b75c6..ac9cdaf 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 // DO NOT CHANGE THIS FILE! It is automatically generated by extdeveval::buildAutoloadRegistry.
 // This file was generated on 2010-11-11 21:58
-$extensionPath = \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces');
+$extensionPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces');
 return array(
        'tx_workspaces_controller_abstractcontroller' => $extensionPath . 'Classes/Controller/AbstractController.php',
        'tx_workspaces_controller_previewcontroller' => $extensionPath . 'Classes/Controller/PreviewController.php',
index 7f39d0e..949513a 100644 (file)
@@ -3,7 +3,7 @@ if (!defined('TYPO3_MODE')) {
        die('Access denied.');
 }
 if (TYPO3_MODE == 'BE') {
-       $workspaceSelectorToolbarItemClassPath = \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('workspaces', 'Classes/ExtDirect/WorkspaceSelectorToolbarItem.php');
+       $workspaceSelectorToolbarItemClassPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces', 'Classes/ExtDirect/WorkspaceSelectorToolbarItem.php');
        $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = $workspaceSelectorToolbarItemClassPath;
 }
 // Register the autopublishing task
@@ -29,7 +29,7 @@ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_doc.php']['makeEditForm_acc
 if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['workspaces_cache'])) {
        $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['workspaces_cache'] = array();
 }
-\TYPO3\CMS\Core\Extension\ExtensionManager::addUserTSConfig('options.workspaces.considerReferences = 1');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('options.workspaces.considerReferences = 1');
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/tree/pagetree/class.t3lib_tree_pagetree_dataprovider.php']['postProcessCollections'][] = 'EXT:workspaces/Classes/ExtDirect/PagetreeCollectionsProcessor.php:TYPO3\\CMS\\Workspaces\\ExtDirect\\PagetreeCollectionsProcessor';
-\TYPO3\CMS\Core\Extension\ExtensionManager::addUserTSConfig('options.workspaces.considerReferences = 1');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('options.workspaces.considerReferences = 1');
 ?>
\ No newline at end of file
index f38783e..3e48d2a 100644 (file)
@@ -23,10 +23,10 @@ if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
                )
        );
        // register ExtDirect
-       \TYPO3\CMS\Core\Extension\ExtensionManager::registerExtDirectComponent('TYPO3.Workspaces.ExtDirect', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'Classes/ExtDirect/Server.php:TYPO3\\CMS\\Workspaces\\ExtDirect\\ExtDirectServer', 'web_WorkspacesWorkspaces', 'user,group');
-       \TYPO3\CMS\Core\Extension\ExtensionManager::registerExtDirectComponent('TYPO3.Workspaces.ExtDirectActions', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'Classes/ExtDirect/ActionHandler.php:TYPO3\\CMS\\Workspaces\\ExtDirect\\ActionHandler', 'web_WorkspacesWorkspaces', 'user,group');
-       \TYPO3\CMS\Core\Extension\ExtensionManager::registerExtDirectComponent('TYPO3.Workspaces.ExtDirectMassActions', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'Classes/ExtDirect/MassActionHandler.php:TYPO3\\CMS\\Workspaces\\ExtDirect\\MassActionHandler', 'web_WorkspacesWorkspaces', 'user,group');
-       \TYPO3\CMS\Core\Extension\ExtensionManager::registerExtDirectComponent('TYPO3.Ajax.ExtDirect.ToolbarMenu', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'Classes/ExtDirect/ToolbarMenu.php:TYPO3\\CMS\\Workspaces\\ExtDirect\\ToolbarMenu');
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerExtDirectComponent('TYPO3.Workspaces.ExtDirect', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/ExtDirect/Server.php:TYPO3\\CMS\\Workspaces\\ExtDirect\\ExtDirectServer', 'web_WorkspacesWorkspaces', 'user,group');
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerExtDirectComponent('TYPO3.Workspaces.ExtDirectActions', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/ExtDirect/ActionHandler.php:TYPO3\\CMS\\Workspaces\\ExtDirect\\ActionHandler', 'web_WorkspacesWorkspaces', 'user,group');
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerExtDirectComponent('TYPO3.Workspaces.ExtDirectMassActions', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/ExtDirect/MassActionHandler.php:TYPO3\\CMS\\Workspaces\\ExtDirect\\MassActionHandler', 'web_WorkspacesWorkspaces', 'user,group');
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerExtDirectComponent('TYPO3.Ajax.ExtDirect.ToolbarMenu', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/ExtDirect/ToolbarMenu.php:TYPO3\\CMS\\Workspaces\\ExtDirect\\ToolbarMenu');
 }
 /**
  * Table "sys_workspace":
@@ -43,7 +43,7 @@ $TCA['sys_workspace'] = array(
                'typeicon_classes' => array(
                        'default' => 'mimetypes-x-sys_workspace'
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'tca.php',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'tca.php',
                'versioningWS_alwaysAllowLiveEdit' => TRUE,
                'dividers2tabs' => TRUE
        )
@@ -67,17 +67,17 @@ $TCA['sys_workspace_stage'] = array(
                'typeicon_classes' => array(
                        'default' => 'mimetypes-x-sys_workspace'
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'tca.php',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'tca.php',
                'versioningWS_alwaysAllowLiveEdit' => TRUE,
                'dividers2tabs' => TRUE
        )
 );
 // todo move icons to Core sprite or keep them here and remove the todo note ;)
 $icons = array(
-       'sendtonextstage' => \TYPO3\CMS\Core\Extension\ExtensionManager::extRelPath($_EXTKEY) . 'Resources/Public/Images/version-workspace-sendtonextstage.png',
-       'sendtoprevstage' => \TYPO3\CMS\Core\Extension\ExtensionManager::extRelPath($_EXTKEY) . 'Resources/Public/Images/version-workspace-sendtoprevstage.png',
-       'generatepreviewlink' => \TYPO3\CMS\Core\Extension\ExtensionManager::extRelPath($_EXTKEY) . 'Resources/Public/Images/generate-ws-preview-link.png'
+       'sendtonextstage' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/version-workspace-sendtonextstage.png',
+       'sendtoprevstage' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/version-workspace-sendtoprevstage.png',
+       'generatepreviewlink' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/generate-ws-preview-link.png'
 );
 \TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons($icons, $_EXTKEY);
-\TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('sys_workspace_stage', 'EXT:workspaces/Resources/Private/Language/locallang_csh_sysws_stage.xml');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_workspace_stage', 'EXT:workspaces/Resources/Private/Language/locallang_csh_sysws_stage.xml');
 ?>
\ No newline at end of file