[CLEANUP] Unused maxListPerPage property in indexed_search 69/37469/3
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Mon, 2 Mar 2015 18:39:30 +0000 (19:39 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 2 Mar 2015 18:49:03 +0000 (19:49 +0100)
The maxListPerPage class property in the indexed_search Administration
controller ist not used any more and therefore removed.

Releases: master, 6.2
Resolves: #65468
Change-Id: Ic1e13bf0e6f7426d5efb54b0996323ac681c2ed4
Reviewed-on: http://review.typo3.org/37469
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/indexed_search/Classes/Controller/AdministrationController.php

index f654412..e0403a8 100644 (file)
@@ -40,11 +40,6 @@ class AdministrationController extends ActionController {
        protected $pageUid = 0;
 
        /**
-        * @var int Max lists per page
-        */
-       protected $maxListPerPage = 50;
-
-       /**
         * @var array External parsers
         */
        protected $external_parsers = array();
@@ -73,7 +68,6 @@ class AdministrationController extends ActionController {
         */
        public function initializeAction() {
                $this->pageUid = (int)GeneralUtility::_GET('id');
-               $this->maxListPerPage = GeneralUtility::_GP('listALL') ? 100000 : 100;
                $this->indexerConfig = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['indexed_search']);
                $this->enableMetaphoneSearch = (bool)$this->indexerConfig['enableMetaphoneSearch'];
                $this->indexer = GeneralUtility::makeInstance(Indexer::class);