[TASK] Replace Space Indent into Tab indent (CGL Cleanup)
authorStefano Kowalke <blueduck@gmx.net>
Sun, 6 May 2012 12:07:02 +0000 (14:07 +0200)
committerTolleiv Nietsch <tolleiv.nietsch@typo3.org>
Sun, 6 May 2012 18:09:35 +0000 (20:09 +0200)
This patch replaces some forgotten and/or
overseen space chars in indention into tab chars.

Change-Id: If02d7884bbe3b721f23a26f1ea04568fff06e920
Resolves: #36884
Reviewed-on: http://review.typo3.org/11024
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
typo3/sysext/workspaces/Classes/Service/GridData.php
typo3/sysext/workspaces/Classes/Service/Stages.php
typo3/sysext/workspaces/ext_tables.php

index def63cc..f30b1fa 100644 (file)
@@ -526,7 +526,7 @@ class Tx_Workspaces_Service_GridData {
         * @param boolean $hiddenOffline hidden status of offline record
         * @return string
         */
-        protected function workspaceState($stateId, $hiddenOnline = FALSE, $hiddenOffline = FALSE) {
+       protected function workspaceState($stateId, $hiddenOnline = FALSE, $hiddenOffline = FALSE) {
                switch ($stateId) {
                        case -1:
                                $state = 'new';
index c8d069d..6a17963 100644 (file)
@@ -764,12 +764,12 @@ class Tx_Workspaces_Service_Stages {
        protected function isStageAllowedForUser($stageId) {
                $cacheKey = $this->getWorkspaceId() . '_' . $stageId;
                $isAllowed = FALSE;
-               if (isset($this->workspaceStageAllowedCache[$cacheKey])) {
+               if (isset($this->workspaceStageAllowedCache[$cacheKey])) {
                        $isAllowed = $this->workspaceStageAllowedCache[$cacheKey];
-                } else {
+               } else {
                        $isAllowed = $GLOBALS['BE_USER']->workspaceCheckStageForCurrent($stageId);
                        $this->workspaceStageAllowedCache[$cacheKey] = $isAllowed;
-                }
+               }
                return $isAllowed;
        }
 
index 46b06ae..60402c4 100644 (file)
@@ -35,7 +35,7 @@ if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
 
        t3lib_extMgm::registerExtDirectComponent(
                'TYPO3.Workspaces.ExtDirectActions',
-                t3lib_extMgm::extPath($_EXTKEY) . 'Classes/ExtDirect/ActionHandler.php:Tx_Workspaces_ExtDirect_ActionHandler',
+               t3lib_extMgm::extPath($_EXTKEY) . 'Classes/ExtDirect/ActionHandler.php:Tx_Workspaces_ExtDirect_ActionHandler',
                'web_WorkspacesWorkspaces',
                'user,group'
        );