[TASK] Remove unused option listModulePath 30/45530/2
authorBenni Mack <benni@typo3.org>
Thu, 31 Dec 2015 12:29:05 +0000 (13:29 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 31 Dec 2015 12:44:50 +0000 (13:44 +0100)
The option listModulePath set for the TYPO3 Backend is
never used, nor is the path valid anymore since TYPO3 v7,
and can be removed.

Resolves: #72495
Releases: master, 7.6
Change-Id: I6c699fb08194ce069cfac19f6f39c1ebf59aab70
Reviewed-on: https://review.typo3.org/45530
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Controller/BackendController.php
typo3/sysext/workspaces/Classes/Controller/PreviewController.php

index 90e0420..9f8f4ca 100644 (file)
@@ -619,7 +619,6 @@ class BackendController
             'moduleMenuWidth' => $this->menuWidth - 1,
             'topBarHeight' => isset($GLOBALS['TBE_STYLES']['dims']['topFrameH']) ? (int)$GLOBALS['TBE_STYLES']['dims']['topFrameH'] : 45,
             'showRefreshLoginPopup' => isset($GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup']) ? (int)$GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup'] : false,
-            'listModulePath' => ExtensionManagementUtility::extRelPath('recordlist') . 'mod1/',
             'debugInWindow' => $beUser->uc['debugInWindow'] ? 1 : 0,
             'ContextHelpWindows' => array(
                 'width' => 600,
index 5feb601..7b8bbdf 100644 (file)
@@ -228,7 +228,6 @@ class PreviewController extends AbstractController
             'moduleMenuWidth' => $this->menuWidth - 1,
             'topBarHeight' => isset($GLOBALS['TBE_STYLES']['dims']['topFrameH']) ? (int)$GLOBALS['TBE_STYLES']['dims']['topFrameH'] : 30,
             'showRefreshLoginPopup' => isset($GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup']) ? (int)$GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup'] : false,
-            'listModulePath' => ExtensionManagementUtility::extRelPath('recordlist') . 'mod1/',
             'debugInWindow' => $GLOBALS['BE_USER']->uc['debugInWindow'] ? 1 : 0,
             'ContextHelpWindows' => array(
                 'width' => 600,