[CLEANUP] Avoid double parsing of includes 12/22612/2
authorFrancois Suter <francois@typo3.org>
Fri, 26 Jul 2013 20:08:52 +0000 (22:08 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 27 Jul 2013 19:22:16 +0000 (21:22 +0200)
The Template Analyzer BE module parses TypoScript for
included files twice.

Resolves: #50473
Releases: 6.2
Change-Id: I5794b55d22e3ca139112477cd28c5ad4477e97cc
Reviewed-on: https://review.typo3.org/22612
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/tstemplate/Classes/Controller/TemplateAnalyzerModuleFunctionController.php

index a1b8908..15c30f6 100644 (file)
@@ -119,7 +119,6 @@ class TemplateAnalyzerModuleFunctionController extends \TYPO3\CMS\Backend\Module
                $GLOBALS['tmpl']->clearList_setup_temp = array_flip($GLOBALS['tmpl']->clearList_setup);
                $pointer = count($GLOBALS['tmpl']->hierarchyInfo);
                $GLOBALS['tmpl']->hierarchyInfoArr = $GLOBALS['tmpl']->ext_process_hierarchyInfo(array(), $pointer);
-               $GLOBALS['tmpl']->processIncludes();
                $hierarArr = array();
                $head = '<tr class="t3-row-header">';
                $head .= '<td>' . $GLOBALS['LANG']->getLL('title', TRUE) . '</td>';