[FOLLOWUP][TASK] Remove deprecated output-related code from EXT:backend 22/52522/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 20 Apr 2017 16:46:00 +0000 (18:46 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 20 Apr 2017 17:58:29 +0000 (19:58 +0200)
Some occurrences of `->getVersionSelector()` were left.
These are removed now.

Resolves: #80705
Releases: master
Change-Id: Ifb47df09a35bfd355be450042978356c7336fa7e
Reviewed-on: https://review.typo3.org/52522
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Controller/PageLayoutController.php
typo3/sysext/func/Classes/Controller/PageFunctionsController.php
typo3/sysext/func/Resources/Private/Templates/Main.html
typo3/sysext/info/Classes/Controller/InfoModuleController.php
typo3/sysext/info/Resources/Private/Templates/Main.html
typo3/sysext/recordlist/Classes/RecordList.php

index cf9e395..5ddc634 100644 (file)
@@ -876,8 +876,6 @@ class PageLayoutController
             $dbList->start($this->id, $table, $this->pointer, $this->search_field, $this->search_levels, $this->showLimit);
             $dbList->counter = $CMcounter;
             $dbList->ext_function = $this->MOD_SETTINGS['function'];
-            // Render versioning selector:
-            $dbList->HTMLcode .= $this->moduleTemplate->getVersionSelector($this->id);
             // Generate the list of elements here:
             $dbList->generateList();
             // Adding the list content to the tableOutput variable:
index 9e61358..e5bd0f4 100644 (file)
@@ -132,7 +132,6 @@ class PageFunctionsController extends \TYPO3\CMS\Backend\Module\BaseScriptClass
             $this->view = $this->getFluidTemplateObject('func', 'func');
             $this->view->assign('moduleName', BackendUtility::getModuleUrl('web_func'));
             $this->view->assign('id', $this->id);
-            $this->view->assign('versionSelector', $this->moduleTemplate->getVersionSelector($this->id, true));
             $this->view->assign('functionMenuModuleContent', $this->getExtObjContent());
             // Setting up the buttons and markers for docheader
             $this->getButtons();
index 5feda64..000f554 100644 (file)
@@ -1,7 +1,4 @@
 <form action="{moduleName}" method="post" id="PageFunctionsController">
     <input type="hidden" name="id" value="{id}" />
-    <f:if condition="{versionSelector}">
-        <div><f:format.raw>{versionSelector}</f:format.raw></div>
-    </f:if>
     <f:format.raw>{functionMenuModuleContent}</f:format.raw>
 </form>
index 24d2bc1..52eeef5 100644 (file)
@@ -114,7 +114,6 @@ class InfoModuleController extends BaseScriptClass
 
             $this->view = $this->getFluidTemplateObject();
             $this->view->assign('moduleName', BackendUtility::getModuleUrl($this->moduleName));
-            $this->view->assign('versionSelector', $this->moduleTemplate->getVersionSelector($this->id, 1));
             $this->view->assign('functionMenuModuleContent', $this->getExtObjContent());
             // Setting up the buttons and markers for docheader
             $this->getButtons();
index 83bc8b3..3762300 100644 (file)
@@ -1,6 +1,3 @@
 <form action="{moduleName}" method="post" id="InfoModuleController" name="webinfoForm" class="form-inline form-inline-spaced">
-    <f:if condition="{versionSelector}">
-        <div><f:format.raw>{versionSelector}</f:format.raw></div>
-    </f:if>
     <f:format.raw>{functionMenuModuleContent}</f:format.raw>
 </form>
index ccc7f70..c284be0 100644 (file)
@@ -31,7 +31,6 @@ use TYPO3\CMS\Core\Messaging\FlashMessageService;
 use TYPO3\CMS\Core\Page\PageRenderer;
 use TYPO3\CMS\Core\Type\Bitmask\Permission;
 use TYPO3\CMS\Core\TypoScript\TypoScriptService;
-use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 use TYPO3\CMS\Lang\LanguageService;
 
@@ -388,10 +387,6 @@ class RecordList extends AbstractModule
             $this->pointer = max(0, (int)$this->pointer);
             $dblist->start($this->id, $this->table, $this->pointer, $this->search_field, $this->search_levels, $this->showLimit);
             $dblist->setDispFields();
-            // Render versioning selector:
-            if (ExtensionManagementUtility::isLoaded('version')) {
-                $dblist->HTMLcode .= $this->moduleTemplate->getVersionSelector($this->id);
-            }
             // Render the list of tables:
             $dblist->generateList();
             $listUrl = $dblist->listURL();