[TASK] Remove dummy files from ext:workspaces
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 2 May 2013 16:30:39 +0000 (18:30 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 2 May 2013 16:54:28 +0000 (18:54 +0200)
Change-Id: I631889db332b001da62d23d29401891746b223e2
Resolves: #47843
Related: #47756
Releases: 6.2
Reviewed-on: https://review.typo3.org/20434
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
18 files changed:
typo3/sysext/workspaces/Classes/ExtDirect/AbstractHandler.php
typo3/sysext/workspaces/Classes/ExtDirect/Server.php [deleted file]
typo3/sysext/workspaces/Classes/Service/AutoPublish.php [deleted file]
typo3/sysext/workspaces/Classes/Service/AutoPublishTask.php [deleted file]
typo3/sysext/workspaces/Classes/Service/Befunc.php [deleted file]
typo3/sysext/workspaces/Classes/Service/CleanupPreviewLinkTask.php [deleted file]
typo3/sysext/workspaces/Classes/Service/Fehooks.php [deleted file]
typo3/sysext/workspaces/Classes/Service/GridData.php [deleted file]
typo3/sysext/workspaces/Classes/Service/GridDataService.php
typo3/sysext/workspaces/Classes/Service/History.php [deleted file]
typo3/sysext/workspaces/Classes/Service/Integrity.php [deleted file]
typo3/sysext/workspaces/Classes/Service/IntegrityService.php
typo3/sysext/workspaces/Classes/Service/Stages.php [deleted file]
typo3/sysext/workspaces/Classes/Service/Tcemain.php [deleted file]
typo3/sysext/workspaces/Classes/Service/Workspaces.php [deleted file]
typo3/sysext/workspaces/ext_autoload.php [deleted file]
typo3/sysext/workspaces/ext_localconf.php
typo3/sysext/workspaces/ext_tables.php

index d551636..4e9c122 100644 (file)
@@ -118,7 +118,7 @@ abstract class AbstractHandler {
         * Creates a new instance of the integrity service for the
         * given set of affected elements.
         *
-        * @param Tx_Workspaces_Domain_Model_CombinedRecord[] $affectedElements
+        * @param \TYPO3\CMS\Workspaces\Domain\Model\CombinedRecord[] $affectedElements
         * @return \TYPO3\CMS\Workspaces\Service\IntegrityService
         * @see getAffectedElements
         */
diff --git a/typo3/sysext/workspaces/Classes/ExtDirect/Server.php b/typo3/sysext/workspaces/Classes/ExtDirect/Server.php
deleted file mode 100644 (file)
index e2309ad..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname Tx_Workspaces_ExtDirect_Server and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/workspaces/Classes/ExtDirect/ExtDirectServer.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/ExtDirect/ExtDirectServer.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/workspaces/Classes/Service/AutoPublish.php b/typo3/sysext/workspaces/Classes/Service/AutoPublish.php
deleted file mode 100644 (file)
index f767c61..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname Tx_Workspaces_Service_AutoPublish and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/workspaces/Classes/Service/AutoPublishService.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Service/AutoPublishService.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/workspaces/Classes/Service/AutoPublishTask.php b/typo3/sysext/workspaces/Classes/Service/AutoPublishTask.php
deleted file mode 100644 (file)
index fe5cdb1..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname Tx_Workspaces_Service_AutoPublishTask and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/workspaces/Classes/Task/AutoPublishTask.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Task/AutoPublishTask.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/workspaces/Classes/Service/Befunc.php b/typo3/sysext/workspaces/Classes/Service/Befunc.php
deleted file mode 100644 (file)
index 0bec4df..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname Tx_Workspaces_Service_Befunc and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Hook/BackendUtilityHook.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/workspaces/Classes/Service/CleanupPreviewLinkTask.php b/typo3/sysext/workspaces/Classes/Service/CleanupPreviewLinkTask.php
deleted file mode 100644 (file)
index c9c6a58..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname Tx_Workspaces_Service_CleanupPreviewLinkTask and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/workspaces/Classes/Task/CleanupPreviewLinkTask.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Task/CleanupPreviewLinkTask.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/workspaces/Classes/Service/Fehooks.php b/typo3/sysext/workspaces/Classes/Service/Fehooks.php
deleted file mode 100644 (file)
index d9d941f..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname Tx_Workspaces_Service_Fehooks and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/workspaces/Classes/Hook/TypoScriptFrontendControllerHook.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Hook/TypoScriptFrontendControllerHook.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/workspaces/Classes/Service/GridData.php b/typo3/sysext/workspaces/Classes/Service/GridData.php
deleted file mode 100644 (file)
index 07f75dd..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname Tx_Workspaces_Service_GridData and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/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 87401b0..8eb7a26 100644 (file)
@@ -191,7 +191,7 @@ class GridDataService {
                                }
                        }
                        // Suggested slot method:
-                       // methodName(Tx_Workspaces_Service_GridData $gridData, array &$dataArray, array $versions)
+                       // methodName(\TYPO3\CMS\Workspaces\Service\GridDataService $gridData, array &$dataArray, array $versions)
                        $this->emitSignal(self::SIGNAL_GenerateDataArray_BeforeCaching, $this->dataArray, $versions);
                        // Enrich elements after everything has been processed:
                        foreach ($this->dataArray as &$element) {
@@ -204,7 +204,7 @@ class GridDataService {
                        $this->setDataArrayIntoCache($versions, $filterTxt);
                }
                // Suggested slot method:
-               // methodName(Tx_Workspaces_Service_GridData $gridData, array &$dataArray, array $versions)
+               // methodName(\TYPO3\CMS\Workspaces\Service\GridDataService $gridData, array &$dataArray, array $versions)
                $this->emitSignal(self::SIGNAL_GenerateDataArray_PostProcesss, $this->dataArray, $versions);
                $this->sortDataArray();
        }
@@ -223,7 +223,7 @@ class GridDataService {
                        $dataArrayPart[] = $this->dataArray[$i];
                }
                // Suggested slot method:
-               // methodName(Tx_Workspaces_Service_GridData $gridData, array &$dataArray, $start, $limit)
+               // methodName(\TYPO3\CMS\Workspaces\Service\GridDataService $gridData, array &$dataArray, $start, $limit)
                $this->emitSignal(self::SIGNAL_GetDataArray_PostProcesss, $this->dataArray, $start, $limit);
                return $dataArrayPart;
        }
@@ -328,7 +328,7 @@ class GridDataService {
                        \TYPO3\CMS\Core\Utility\GeneralUtility::sysLog('Try to sort "' . $this->sort . '" in "TYPO3\\CMS\\Workspaces\\Service\\GridDataService::sortDataArray" but $this->dataArray is empty! This might be the Bug #26422 which could not reproduced yet.', 3);
                }
                // Suggested slot method:
-               // methodName(Tx_Workspaces_Service_GridData $gridData, array &$dataArray, $sortColumn, $sortDirection)
+               // methodName(\TYPO3\CMS\Workspaces\Service\GridDataService $gridData, array &$dataArray, $sortColumn, $sortDirection)
                $this->emitSignal(self::SIGNAL_SortDataArray_PostProcesss, $this->dataArray, $this->sort, $this->sortDir);
        }
 
@@ -561,4 +561,4 @@ class GridDataService {
 }
 
 
-?>
+?>
\ No newline at end of file
diff --git a/typo3/sysext/workspaces/Classes/Service/History.php b/typo3/sysext/workspaces/Classes/Service/History.php
deleted file mode 100644 (file)
index 4cf415d..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname Tx_Workspaces_Service_History and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/workspaces/Classes/Service/HistoryService.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Service/HistoryService.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/workspaces/Classes/Service/Integrity.php b/typo3/sysext/workspaces/Classes/Service/Integrity.php
deleted file mode 100644 (file)
index 8a3dfb8..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname Tx_Workspaces_Service_Integrity and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/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 da7a28b..74d2c90 100644 (file)
@@ -68,7 +68,7 @@ class IntegrityService {
        );
 
        /**
-        * @var Tx_Workspaces_Domain_Model_CombinedRecord[]
+        * @var \TYPO3\CMS\Workspaces\Domain\Model\CombinedRecord[]
         */
        protected $affectedElements;
 
@@ -91,7 +91,7 @@ class IntegrityService {
        /**
         * Sets the affected elements.
         *
-        * @param Tx_Workspaces_Domain_Model_CombinedRecord[] $affectedElements
+        * @param \TYPO3\CMS\Workspaces\Domain\Model\CombinedRecord[] $affectedElements
         * @return void
         */
        public function setAffectedElements(array $affectedElements) {
diff --git a/typo3/sysext/workspaces/Classes/Service/Stages.php b/typo3/sysext/workspaces/Classes/Service/Stages.php
deleted file mode 100644 (file)
index f6f99d4..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname Tx_Workspaces_Service_Stages and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/workspaces/Classes/Service/StagesService.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Service/StagesService.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/workspaces/Classes/Service/Tcemain.php b/typo3/sysext/workspaces/Classes/Service/Tcemain.php
deleted file mode 100644 (file)
index 4e04c6d..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname Tx_Workspaces_Service_Tcemain and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Hook/DataHandlerHook.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/workspaces/Classes/Service/Workspaces.php b/typo3/sysext/workspaces/Classes/Service/Workspaces.php
deleted file mode 100644 (file)
index f4dc383..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname Tx_Workspaces_Service_Workspaces and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/workspaces/Classes/Service/WorkspaceService.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces') . 'Classes/Service/WorkspaceService.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/workspaces/ext_autoload.php b/typo3/sysext/workspaces/ext_autoload.php
deleted file mode 100644 (file)
index ac9cdaf..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<?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\Utility\ExtensionManagementUtility::extPath('workspaces');
-return array(
-       'tx_workspaces_controller_abstractcontroller' => $extensionPath . 'Classes/Controller/AbstractController.php',
-       'tx_workspaces_controller_previewcontroller' => $extensionPath . 'Classes/Controller/PreviewController.php',
-       'tx_workspaces_controller_reviewcontroller' => $extensionPath . 'Classes/Controller/ReviewController.php',
-       'tx_workspaces_domain_model_combinedrecord' => $extensionPath . 'Classes/Domain/Model/CombinedRecord.php',
-       'tx_workspaces_domain_model_databaserecord' => $extensionPath . 'Classes/Domain/Model/DatabaseRecord.php',
-       'tx_workspaces_extdirect_abstracthandler' => $extensionPath . 'Classes/ExtDirect/AbstractHandler.php',
-       'tx_workspaces_extdirect_actionhandler' => $extensionPath . 'Classes/ExtDirect/ActionHandler.php',
-       'tx_workspaces_extdirect_massactionhandler' => $extensionPath . 'Classes/ExtDirect/MassActionHandler.php',
-       'tx_workspaces_extdirect_server' => $extensionPath . 'Classes/ExtDirect/Server.php',
-       'tx_workspaces_extdirect_toolbarmenu' => $extensionPath . 'Classes/ExtDirect/ToolbarMenu.php',
-       'tx_workspaces_reports_statusprovider' => $extensionPath . 'Classes/Reports/StatusProvider.php',
-       'tx_workspaces_service_autopublish' => $extensionPath . 'Classes/Service/AutoPublish.php',
-       'tx_workspaces_service_autopublishtask' => $extensionPath . 'Classes/Service/AutoPublishTask.php',
-       'tx_workspaces_service_cleanuppreviewlinktask' => $extensionPath . 'Classes/Service/CleanupPreviewLinkTask.php',
-       'tx_workspaces_service_befunc' => $extensionPath . 'Classes/Service/Befunc.php',
-       'tx_workspaces_service_griddata' => $extensionPath . 'Classes/Service/GridData.php',
-       'tx_workspaces_service_history' => $extensionPath . 'Classes/Service/History.php',
-       'tx_workspaces_service_integrity' => $extensionPath . 'Classes/Service/Integrity.php',
-       'tx_workspaces_service_stages' => $extensionPath . 'Classes/Service/Stages.php',
-       'tx_workspaces_service_tcemain' => $extensionPath . 'Classes/Service/Tcemain.php',
-       'tx_workspaces_service_workspaces' => $extensionPath . 'Classes/Service/Workspaces.php',
-       'tx_workspaces_service_workspacestest' => $extensionPath . 'Tests/Service/WorkspaceTest.php'
-);
-?>
\ No newline at end of file
index e346ae6..e34c893 100644 (file)
@@ -2,26 +2,30 @@
 if (!defined('TYPO3_MODE')) {
        die('Access denied.');
 }
+
 if (TYPO3_MODE == 'BE') {
        $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
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['TYPO3\\CMS\\Workspaces\\Task\\AutoPublishTask'] = array(
        'extension' => $_EXTKEY,
        'title' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml:autopublishTask.name',
        'description' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml:autopublishTask.description'
 );
+
 // Register the cleanup preview links task
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['TYPO3\\CMS\\Workspaces\\Task\\CleanupPreviewLinkTask'] = array(
        'extension' => $_EXTKEY,
        'title' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml:cleanupPreviewLinkTask.name',
        'description' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml:cleanupPreviewLinkTask.description'
 );
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['workspaces'] = 'EXT:workspaces/Classes/Service/Tcemain.php:TYPO3\\CMS\\Workspaces\\Hook\\DataHandlerHook';
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['viewOnClickClass']['workspaces'] = 'EXT:workspaces/Classes/Service/Befunc.php:TYPO3\\CMS\\Workspaces\\Hook\\BackendUtilityHook';
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['hook_eofe']['workspaces'] = 'EXT:workspaces/Classes/Service/Fehooks.php:TYPO3\\CMS\\Workspaces\\Hook\\TypoScriptFrontendControllerHook->hook_eofe';
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_doc.php']['makeEditForm_accessCheck']['workspaces'] = 'EXT:workspaces/Classes/Service/Befunc.php:TYPO3\\CMS\\Workspaces\\Hook\\BackendUtilityHook->makeEditForm_accessCheck';
+
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['workspaces'] = 'TYPO3\\CMS\\Workspaces\\Hook\\DataHandlerHook';
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['viewOnClickClass']['workspaces'] = 'TYPO3\\CMS\\Workspaces\\Hook\\BackendUtilityHook';
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['hook_eofe']['workspaces'] = 'TYPO3\\CMS\\Workspaces\\Hook\\TypoScriptFrontendControllerHook->hook_eofe';
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_doc.php']['makeEditForm_accessCheck']['workspaces'] = 'TYPO3\\CMS\\Workspaces\\Hook\\BackendUtilityHook->makeEditForm_accessCheck';
 
 // Register workspaces cache if not already done in localconf.php or a previously loaded extension.
 if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['workspaces_cache'])) {
@@ -29,6 +33,6 @@ if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations
 }
 
 \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';
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/tree/pagetree/class.t3lib_tree_pagetree_dataprovider.php']['postProcessCollections'][] = 'TYPO3\\CMS\\Workspaces\\ExtDirect\\PagetreeCollectionsProcessor';
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('options.workspaces.considerReferences = 1');
-?>
+?>
\ No newline at end of file
index 8e599cd..d81893c 100644 (file)
@@ -22,11 +22,30 @@ if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
                        'navigationComponentId' => 'typo3-pagetree'
                )
        );
+
        // register ExtDirect
-       \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');
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerExtDirectComponent(
+               'TYPO3.Workspaces.ExtDirect',
+               'TYPO3\\CMS\\Workspaces\\ExtDirect\\ExtDirectServer',
+               'web_WorkspacesWorkspaces',
+               'user,group'
+       );
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerExtDirectComponent(
+               'TYPO3.Workspaces.ExtDirectActions',
+               'TYPO3\\CMS\\Workspaces\\ExtDirect\\ActionHandler',
+               'web_WorkspacesWorkspaces',
+               'user,group'
+       );
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerExtDirectComponent(
+               'TYPO3.Workspaces.ExtDirectMassActions',
+               'TYPO3\\CMS\\Workspaces\\ExtDirect\\MassActionHandler',
+               'web_WorkspacesWorkspaces',
+               'user,group'
+       );
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerExtDirectComponent(
+               'TYPO3.Ajax.ExtDirect.ToolbarMenu',
+               'TYPO3\\CMS\\Workspaces\\ExtDirect\\ToolbarMenu'
+       );
 }
 
 // todo move icons to Core sprite or keep them here and remove the todo note ;)