[FEATURE] TCA refactoring
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 14 Feb 2013 13:12:23 +0000 (14:12 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 28 Feb 2013 19:03:11 +0000 (20:03 +0100)
Follow up to core patch for dbal submodule

Related: #45767
Releases: 6.1
Change-Id: I05b3b09f7eb736ff05ba353f692e5eb684572b66
Reviewed-on: https://review.typo3.org/18447
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/dbal/Classes/Database/DatabaseConnection.php
typo3/sysext/dbal/Classes/RecordList/DatabaseRecordList.php

index 156aa28..2683311 100644 (file)
@@ -260,7 +260,6 @@ class DatabaseConnection extends \TYPO3\CMS\Core\Database\DatabaseConnection {
                        $this->cache_fieldType = $fieldInformation['fieldTypes'];
                        $this->cache_primaryKeys = $fieldInformation['primaryKeys'];
                } else {
-                       $this->analyzeCoreTables();
                        $this->analyzeCachingTables();
                        $this->analyzeExtensionTables();
                        $completeFieldInformation = $this->getCompleteFieldInformation();
@@ -269,17 +268,6 @@ class DatabaseConnection extends \TYPO3\CMS\Core\Database\DatabaseConnection {
        }
 
        /**
-        * Handle stddb.sql and caching tables
-        * parse and analyze table definitions
-        *
-        * @return void
-        */
-       protected function analyzeCoreTables() {
-               $coreSql = file_get_contents(PATH_t3lib . 'stddb/tables.sql');
-               $this->parseAndAnalyzeSql($coreSql);
-       }
-
-       /**
         * Loop through caching configurations
         * to find the usage of database backends and
         * parse and analyze table definitions
index ebe8037..7d2594d 100644 (file)
@@ -54,8 +54,6 @@ class DatabaseRecordList extends \TYPO3\CMS\Recordlist\RecordList\DatabaseRecord
        public function makeSearchString($table) {
                // Make query, only if table is valid and a search string is actually defined:
                if ($GLOBALS['TCA'][$table] && $this->searchString) {
-                       // Loading full table description - we need to traverse fields:
-                       \TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA($table);
                        // Initialize field array:
                        $sfields = array();
                        $or = '';