[TASK] Remove references to template.php in EXT: versions
authorFelix Kopp <felix-source@phorax.com>
Sun, 12 May 2013 22:01:48 +0000 (00:01 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Thu, 16 May 2013 23:13:48 +0000 (01:13 +0200)
Former template.php file is cued for removal. Versions backend
module still includes the empty casing "template.php".

Change-Id: I3b9e86346d9a179c272a39adccf89b9eced7179a
Resolves: #48124
Releases: 6.2
Reviewed-on: https://review.typo3.org/20726
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/version/Classes/View/VersionView.php
typo3/sysext/version/cm1/index.php

index 9aec36f..01a5512 100644 (file)
@@ -36,11 +36,12 @@ class VersionView {
 
        /**
         * Creates the version selector for the page id inputted.
-        * Moved out of the core file typo3/template.php
+        * Moved out of the core file \TYPO3\CMS\Backend\Template\DocumentTemplate
         *
         * @param       integer         Page id to create selector for.
         * @param       boolean         If set, there will be no button for swapping page.
         * @return      void
+        * @see \TYPO3\CMS\Backend\Template\DocumentTemplate
         */
        public function getVersionSelector($id, $noAction = FALSE) {
                if ($id <= 0) {
index 8c300fc..5ebf7ec 100755 (executable)
@@ -25,7 +25,6 @@
 unset($MCONF);
 require 'conf.php';
 require $BACK_PATH . 'init.php';
-require $BACK_PATH . 'template.php';
 $GLOBALS['LANG']->includeLLFile('EXT:version/locallang.xml');
 $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Version\\Controller\\VersionModuleController');
 $SOBE->init();