[TASK] Remove dummy files from ext:version
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 2 May 2013 15:55:42 +0000 (17:55 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 2 May 2013 16:05:26 +0000 (18:05 +0200)
Change-Id: I1f7b91c5734d63ebb66436790ef7d3cea6d038c7
Resolves: #47841
Related: #47756
Releases: 6.2
Reviewed-on: https://review.typo3.org/20430
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
12 files changed:
typo3/sysext/version/Classes/Preview.php [deleted file]
typo3/sysext/version/Classes/Task/AutoPublishTask.php
typo3/sysext/version/class.tx_version_cm1.php [deleted file]
typo3/sysext/version/class.tx_version_gui.php [deleted file]
typo3/sysext/version/class.tx_version_iconworks.php [deleted file]
typo3/sysext/version/class.tx_version_tcemain.php [deleted file]
typo3/sysext/version/class.tx_version_tcemain_commandmap.php [deleted file]
typo3/sysext/version/cm1/index.php
typo3/sysext/version/ext_autoload.php [deleted file]
typo3/sysext/version/ext_localconf.php
typo3/sysext/version/tasks/class.tx_version_tasks_autopublish.php [deleted file]
typo3/sysext/version/ws/class.wslib.php [deleted file]

diff --git a/typo3/sysext/version/Classes/Preview.php b/typo3/sysext/version/Classes/Preview.php
deleted file mode 100644 (file)
index 166fb80..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname Tx_Version_Preview and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/version/Classes/Hook/PreviewHook.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version') . 'Classes/Hook/PreviewHook.php';
-?>
\ No newline at end of file
index bff4c93..5a7b130 100644 (file)
@@ -40,7 +40,6 @@ class AutoPublishTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask {
         */
        public function execute() {
                // Load the workspace library class and instatiate it
-               require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version') . 'ws/class.wslib.php';
                $autopubObj = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Version\\Utility\\WorkspacesUtility');
                // Publish the workspaces that need to be
                $autopubObj->autoPublishWorkspaces();
diff --git a/typo3/sysext/version/class.tx_version_cm1.php b/typo3/sysext/version/class.tx_version_cm1.php
deleted file mode 100755 (executable)
index c0705d4..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname tx_version_cm1 and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/version/Classes/ClickMenu/VersionClickMenu.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version') . 'Classes/ClickMenu/VersionClickMenu.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/version/class.tx_version_gui.php b/typo3/sysext/version/class.tx_version_gui.php
deleted file mode 100644 (file)
index 3364a54..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname tx_version_gui and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/version/Classes/View/VersionView.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version') . 'Classes/View/VersionView.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/version/class.tx_version_iconworks.php b/typo3/sysext/version/class.tx_version_iconworks.php
deleted file mode 100644 (file)
index 4935a51..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname tx_version_iconworks and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/version/Classes/Hook/IconUtilityHook.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version') . 'Classes/Hook/IconUtilityHook.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/version/class.tx_version_tcemain.php b/typo3/sysext/version/class.tx_version_tcemain.php
deleted file mode 100644 (file)
index bf89aaa..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname tx_version_tcemain and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/version/Classes/Hook/DataHandlerHook.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version') . 'Classes/Hook/DataHandlerHook.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/version/class.tx_version_tcemain_commandmap.php b/typo3/sysext/version/class.tx_version_tcemain_commandmap.php
deleted file mode 100644 (file)
index 6f0b544..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname tx_version_tcemain_CommandMap and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/version/Classes/DataHandler/CommandMap.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version') . 'Classes/DataHandler/CommandMap.php';
-?>
\ No newline at end of file
index 433981e..8c300fc 100755 (executable)
  *
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
-// DEFAULT initialization of a module [BEGIN]
+
 unset($MCONF);
 require 'conf.php';
 require $BACK_PATH . 'init.php';
 require $BACK_PATH . 'template.php';
 $GLOBALS['LANG']->includeLLFile('EXT:version/locallang.xml');
-// DEFAULT initialization of a module [END]
-require_once '../ws/class.wslib.php';
-/*
- * @deprecated since 6.0, the classname tx_version_cm1 and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/version/Classes/Controller/VersionModuleController.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version') . 'Classes/Controller/VersionModuleController.php';
-// Make instance:
 $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Version\\Controller\\VersionModuleController');
 $SOBE->init();
 $SOBE->main();
diff --git a/typo3/sysext/version/ext_autoload.php b/typo3/sysext/version/ext_autoload.php
deleted file mode 100644 (file)
index acc15cc..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-// DO NOT CHANGE THIS FILE! It is automatically generated by extdeveval::buildAutoloadRegistry.
-// This file was generated on 2010-11-13 17:45
-$extensionPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version');
-return array(
-       'tx_version_tcemain_commandmap' => $extensionPath . 'class.tx_version_tcemain_commandmap.php',
-       'tx_version_cm1' => $extensionPath . 'cm1/index.php',
-       'tx_version_gui' => $extensionPath . 'class.tx_version_gui.php',
-       'tx_version_tcemain' => $extensionPath . 'class.tx_version_tcemain.php',
-       'tx_version_tasks_autopublish' => $extensionPath . 'tasks/class.tx_version_tasks_autopublish.php',
-       'tx_version_preview' => $extensionPath . 'Classes/Preview.php'
-);
-?>
\ No newline at end of file
index 332e6b6..8702362 100644 (file)
@@ -1,16 +1,19 @@
 <?php
-/* $Id: ext_localconf.php 7251 2010-04-06 18:57:45Z francois $ */
 if (!defined('TYPO3_MODE')) {
        die('Access denied.');
 }
+
 // register the hook to actually do the work within TCEmain
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['version'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version', 'class.tx_version_tcemain.php:&TYPO3\\CMS\\Version\\Hook\\DataHandlerHook');
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass']['version'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version', 'class.tx_version_tcemain.php:&TYPO3\\CMS\\Version\\Hook\\DataHandlerHook');
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['version'] = '&TYPO3\\CMS\\Version\\Hook\\DataHandlerHook';
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass']['version'] = '&TYPO3\\CMS\\Version\\Hook\\DataHandlerHook';
+
 // Register hook for overriding the icon status overlay
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_iconworks.php']['overrideIconOverlay']['version'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version', 'class.tx_version_iconworks.php:&TYPO3\\CMS\\Version\\Hook\\IconUtilityHook');
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_iconworks.php']['overrideIconOverlay']['version'] = '&TYPO3\\CMS\\Version\\Hook\\IconUtilityHook';
+
 // Register hook to check for the preview mode in the FE
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['connectToDB']['version_preview'] = 'EXT:version/Classes/Preview.php:TYPO3\\CMS\\Version\\Hook\\PreviewHook->checkForPreview';
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['postBeUser']['version_preview'] = 'EXT:version/Classes/Preview.php:TYPO3\\CMS\\Version\\Hook\\PreviewHook->initializePreviewUser';
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['connectToDB']['version_preview'] = 'TYPO3\\CMS\\Version\\Hook\\PreviewHook->checkForPreview';
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['postBeUser']['version_preview'] = 'TYPO3\\CMS\\Version\\Hook\\PreviewHook->initializePreviewUser';
+
 if (TYPO3_MODE == 'BE') {
        // add default notification options to every page
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSconfig('
diff --git a/typo3/sysext/version/tasks/class.tx_version_tasks_autopublish.php b/typo3/sysext/version/tasks/class.tx_version_tasks_autopublish.php
deleted file mode 100644 (file)
index 95fb3f4..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname tx_version_tasks_AutoPublish and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/version/Classes/Task/AutoPublishTask.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version') . 'Classes/Task/AutoPublishTask.php';
-?>
\ No newline at end of file
diff --git a/typo3/sysext/version/ws/class.wslib.php b/typo3/sysext/version/ws/class.wslib.php
deleted file mode 100755 (executable)
index 4f347a1..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname wslib and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/version/Classes/Utility/WorkspacesUtility.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('version') . 'Classes/Utility/WorkspacesUtility.php';
-?>
\ No newline at end of file