[TASK] Remove old class files in ext:taskcenter 99/23499/2
authorWouter Wolters <typo3@wouterwolters.nl>
Fri, 30 Aug 2013 17:24:08 +0000 (19:24 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 31 Aug 2013 09:42:39 +0000 (11:42 +0200)
Remove old class files in ext:taskcenter

Change-Id: Ia998f65eb9c4b4e9b0abe1d5d63b145f36335434
Resolves: #51594
Releases: 6.2
Reviewed-on: https://review.typo3.org/23499
Reviewed-by: Kai Ole Hartwig
Tested-by: Kai Ole Hartwig
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/taskcenter/Classes/Controller/TaskModuleController.php
typo3/sysext/taskcenter/Classes/class.tx_taskcenter_status.php [deleted file]
typo3/sysext/taskcenter/ext_autoload.php [deleted file]
typo3/sysext/taskcenter/interfaces/interface.tx_taskcenter_task.php [deleted file]
typo3/sysext/taskcenter/task/index.php

index 8d6253d..f511287 100644 (file)
@@ -136,7 +136,7 @@ class TaskModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClass {
                                        $actionContent .= $flashMessage->render();
                                }
                        } else {
-                               // Error if the task is not an instance of tx_taskcenter_Task
+                               // Error if the task is not an instance of \TYPO3\CMS\Taskcenter\TaskInterface
                                $flashMessage = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Messaging\\FlashMessage', sprintf($GLOBALS['LANG']->getLL('error_no-instance', TRUE), $taskClass, 'TYPO3\\CMS\\Taskcenter\\TaskInterface'), $GLOBALS['LANG']->getLL('error_header'), \TYPO3\CMS\Core\Messaging\FlashMessage::ERROR);
                                $actionContent .= $flashMessage->render();
                        }
diff --git a/typo3/sysext/taskcenter/Classes/class.tx_taskcenter_status.php b/typo3/sysext/taskcenter/Classes/class.tx_taskcenter_status.php
deleted file mode 100644 (file)
index 7ad8a9a..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname tx_taskcenter_status and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/taskcenter/Classes/TaskStatus.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('taskcenter') . 'Classes/TaskStatus.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/taskcenter/ext_autoload.php b/typo3/sysext/taskcenter/ext_autoload.php
deleted file mode 100644 (file)
index ac6d2ee..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-// Register necessary class names with autoloader
-$extensionPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('taskcenter');
-return array(
-       'tx_taskcenter_task' => $extensionPath . 'interfaces/interface.tx_taskcenter_task.php'
-);
-?>
\ No newline at end of file
diff --git a/typo3/sysext/taskcenter/interfaces/interface.tx_taskcenter_task.php b/typo3/sysext/taskcenter/interfaces/interface.tx_taskcenter_task.php
deleted file mode 100644 (file)
index 5ab3edb..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname tx_taskcenter_Task and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/taskcenter/Classes/TaskInterface.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('taskcenter') . 'Classes/TaskInterface.php';
-?>
\ No newline at end of file
index 2fb5fff..0944b62 100755 (executable)
  ***************************************************************/
 $LANG->includeLLFile('EXT:taskcenter/task/locallang.xlf');
 $BE_USER->modAccess($MCONF, 1);
-/*
- * @deprecated since 6.0, the classname SC_mod_user_task_index and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/taskcenter/Classes/Controller/TaskModuleController.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('taskcenter') . 'Classes/Controller/TaskModuleController.php';
+
 // Make instance:
 $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Taskcenter\\Controller\\TaskModuleController');
 // Include files?