[TASK] Add namespaing to WorkspaceService 49/19949/2
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 13 Apr 2013 22:06:24 +0000 (00:06 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 14 Apr 2013 09:58:14 +0000 (11:58 +0200)
Resolves: #47199
Releases: 6.1
Change-Id: Id7326e8766e9bd2923102ea4fe1645007b82964b
Reviewed-on: https://review.typo3.org/19949
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/backend/Classes/Controller/PageTreeNavigationController.php

index 95712dd..680519e 100644 (file)
@@ -268,7 +268,7 @@ class PageTreeNavigationController {
         */
        protected function getWorkspaceInfo() {
                if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('workspaces') && ($GLOBALS['BE_USER']->workspace !== 0 || $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.onlineWorkspaceInfo'))) {
-                       $wsTitle = htmlspecialchars(\tx_Workspaces_Service_Workspaces::getWorkspaceTitle($GLOBALS['BE_USER']->workspace));
+                       $wsTitle = htmlspecialchars(\TYPO3\CMS\Workspaces\Service\WorkspaceService::getWorkspaceTitle($GLOBALS['BE_USER']->workspace));
                        $workspaceInfo = '
                                <div class="bgColor4 workspace-info">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('apps-toolbar-menu-workspace', array(
                                'title' => $wsTitle,