[TASK] Reapply direct changes of TYPO3 Core
[Packages/TYPO3.CMS.git] / typo3 / sysext / workspaces / Classes / ExtDirect / MassActionHandler.php
index f78a977..186500b 100644 (file)
@@ -86,10 +86,10 @@ class tx_Workspaces_ExtDirect_MassActionHandler extends tx_Workspaces_ExtDirect_
         */
        public function publishWorkspace(stdclass $parameters) {
                $result = array(
-                       'init' => false,
+                       'init' => FALSE,
                        'total' => 0,
                        'processed' => 0,
-                       'error' => false
+                       'error' => FALSE
                );
 
                try {
@@ -114,10 +114,10 @@ class tx_Workspaces_ExtDirect_MassActionHandler extends tx_Workspaces_ExtDirect_
         */
        public function flushWorkspace(stdclass $parameters) {
                $result = array(
-                       'init' => false,
+                       'init' => FALSE,
                        'total' => 0,
                        'processed' => 0,
-                       'error' => false
+                       'error' => FALSE
                );
 
                try {
@@ -206,7 +206,7 @@ class tx_Workspaces_ExtDirect_MassActionHandler extends tx_Workspaces_ExtDirect_
 
                if ($numRecs == 0) {
                                // All done
-                       $GLOBALS['BE_USER']->setAndSaveSessionData('workspaceMassAction', null);
+                       $GLOBALS['BE_USER']->setAndSaveSessionData('workspaceMassAction', NULL);
                        $GLOBALS['BE_USER']->setAndSaveSessionData('workspaceMassAction_total', 0);
                } else {
                                // Execute the commands:
@@ -239,4 +239,4 @@ class tx_Workspaces_ExtDirect_MassActionHandler extends tx_Workspaces_ExtDirect_
 if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/ExtDirect/MassActionHandler.php'])) {
        include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/ExtDirect/MassActionHandler.php']);
 }
-?>
+?>
\ No newline at end of file