Revert "[TASK] Remove loadTCA calls"
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 13 Feb 2013 15:59:29 +0000 (16:59 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 13 Feb 2013 16:01:13 +0000 (17:01 +0100)
This reverts commit f5ffc23db474e14cebd72486af5a52e875fa74ad

Change-Id: I43922bfdfbe745f2a47cacf2b2b324d3a5672c38
Related: #45107
Reviewed-on: https://review.typo3.org/18242
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/linkvalidator/Classes/LinkAnalyzer.php

index 000cc73..3894dd8 100644 (file)
@@ -119,6 +119,9 @@ class LinkAnalyzer {
        public function init(array $searchField, $pid) {
                $this->searchFields = $searchField;
                $this->pidList = $pid;
+               foreach ($searchField as $tableName => $table) {
+                       \TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA($tableName);
+               }
        }
 
        /**