[TASK] Fix mentions of old class names
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 2 May 2013 16:29:21 +0000 (18:29 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 2 May 2013 16:36:27 +0000 (18:36 +0200)
Change-Id: I22278ef5891cbaab7ef6ee6686f51367e9da8264
Resolves: #47791
Releases: 6.2
Reviewed-on: https://review.typo3.org/20433
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/version/Classes/Hook/DataHandlerHook.php

index 338e5e8..084aeae 100644 (file)
@@ -459,7 +459,7 @@ class DataHandlerHook {
                                );
                                // add marker for preview links if workspace extension is loaded
                                if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('workspaces')) {
-                                       $this->workspaceService = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('tx_Workspaces_Service_Workspaces');
+                                       $this->workspaceService = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Workspaces\\Service\\WorkspaceService');
                                        // only generate the link if the marker is in the template - prevents database from getting to much entries
                                        if (\TYPO3\CMS\Core\Utility\GeneralUtility::isFirstPartOfStr($emailConfig['message'], 'LLL:')) {
                                                $tempEmailMessage = $GLOBALS['LANG']->sL($emailConfig['message']);
@@ -862,7 +862,7 @@ class DataHandlerHook {
                                                                                        $theLogId = $tcemainObj->log($table, $swapWith, 2, $propArr['pid'], 0, $label, 10, array($propArr['header'], $table . ':' . $swapWith), $propArr['event_pid']);
                                                                                        $tcemainObj->setHistory($table, $swapWith, $theLogId);
 
-                                                                                       $stageId = -20; // Tx_Workspaces_Service_Stages::STAGE_PUBLISH_EXECUTE_ID;
+                                                                                       $stageId = -20; // \TYPO3\CMS\Workspaces\Service\StagesService::STAGE_PUBLISH_EXECUTE_ID;
                                                                                        if ($notificationEmailInfo) {
                                                                                                $notificationEmailInfoKey = $wsAccess['uid'] . ':' . $stageId . ':' . $comment;
                                                                                                $this->notificationEmailInfo[$notificationEmailInfoKey]['shared'] = array($wsAccess, $stageId, $comment);
@@ -1303,4 +1303,4 @@ class DataHandlerHook {
 }
 
 
-?>
+?>
\ No newline at end of file