[BUGFIX] Remove reference to removed method 76/43676/2
authorStanislas Rolland <typo3@sjbr.ca>
Wed, 30 Sep 2015 22:44:12 +0000 (18:44 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Wed, 30 Sep 2015 22:45:38 +0000 (00:45 +0200)
Resolves: #70241
Change-Id: I4989bd1f885f57c09edca953590e411439fda793
Reviewed-on: http://review.typo3.org/43676
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
ChangeLog
Classes/Utility/LocalizationUtility.php

index cf98ec2..4216d98 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
        * Resolves #70235: Move static template registration to TCA/Overrides
        * Resolves #70239: Adapt to new TCA configuration and backend Form Engine API of TYPO3 CMS 7
        * Resolves #70240: !!! Remove class tx_staticinfotables_div
+       * Resolves #70241: Remove reference to removed method
 
 2015-09-14  Stanislas Rolland  <typo3@sjbr.ca>
 
index dc86ab4..1e1e22d 100644 (file)
@@ -133,9 +133,6 @@ class LocalizationUtility {
         * @return array field names
         */
        public static function getLabelFields ($tableName, $lang, $local = FALSE) {
-               if (\TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(TYPO3_version) < 6001000) {
-                       TcaUtility::loadTca($tableName);
-               }
                $labelFields = array();
                if (is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['static_info_tables']['tables'][$tableName]['label_fields'])) {
                        $alternativeLanguages = array();
@@ -311,5 +308,4 @@ class LocalizationUtility {
                        return $value;
                }
        }
-}
-?>
\ No newline at end of file
+}
\ No newline at end of file