[TASK] Remove unused stat_type funcMenu initialization 63/32663/2
authorWouter Wolters <typo3@wouterwolters.nl>
Mon, 8 Sep 2014 21:37:01 +0000 (23:37 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Mon, 8 Sep 2014 22:59:10 +0000 (00:59 +0200)
In PageInformationController there is unused code initialized.
The stat_type is unused and can be removed.

Resolves: #61462
Releases: 6.3
Change-Id: I61e59b8c10d32bd907ffd90d86aecabb39394c30
Reviewed-on: http://review.typo3.org/32663
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/frontend/Classes/Controller/PageInformationController.php

index c8c4dc3..110bc0f 100644 (file)
@@ -37,11 +37,6 @@ class PageInformationController extends \TYPO3\CMS\Backend\Module\AbstractFuncti
                                2 => $LANG->sL('LLL:EXT:cms/web_info/locallang.xlf:pages_2'),
                                1 => $LANG->sL('LLL:EXT:cms/web_info/locallang.xlf:pages_1')
                        ),
-                       'stat_type' => array(
-                               0 => $LANG->sL('LLL:EXT:cms/web_info/locallang.xlf:stat_type_0'),
-                               1 => $LANG->sL('LLL:EXT:cms/web_info/locallang.xlf:stat_type_1'),
-                               2 => $LANG->sL('LLL:EXT:cms/web_info/locallang.xlf:stat_type_2')
-                       ),
                        'depth' => array(
                                0 => $LANG->getLL('depth_0'),
                                1 => $LANG->getLL('depth_1'),