From 3e181e103fa1ede3f5c0c95432b5eceeb8e461cf Mon Sep 17 00:00:00 2001
From: Alexander Stehlik <alexander.stehlik@gmail.com>
Date: Mon, 2 Mar 2015 19:39:30 +0100
Subject: [PATCH] [CLEANUP] Unused maxListPerPage property in indexed_search

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>
---
 .../Classes/Controller/AdministrationController.php         | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/typo3/sysext/indexed_search/Classes/Controller/AdministrationController.php b/typo3/sysext/indexed_search/Classes/Controller/AdministrationController.php
index f654412aa96d..e0403a8703c7 100644
--- a/typo3/sysext/indexed_search/Classes/Controller/AdministrationController.php
+++ b/typo3/sysext/indexed_search/Classes/Controller/AdministrationController.php
@@ -39,11 +39,6 @@ class AdministrationController extends ActionController {
 	 */
 	protected $pageUid = 0;
 
-	/**
-	 * @var int Max lists per page
-	 */
-	protected $maxListPerPage = 50;
-
 	/**
 	 * @var array External parsers
 	 */
@@ -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);
-- 
GitLab