[BUGIFX] Drop usage of addTofeInterface parameter 45/26745/2
authorFrancois Suter <francois@typo3.org>
Fri, 10 Jan 2014 16:05:24 +0000 (17:05 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 11 Jan 2014 16:14:22 +0000 (17:14 +0100)
In #54613, usage of parameter $addTofeInterface in method
ExtensionManagementUtility::addTCAcolumns() was deprecated.
However it is used in a few places of the Core.
Those calls must be modified too.

Resolves: #54899
Releases: 6.2
Change-Id: I22696cb4655578dc583edcb9cfa4693b69e228c8
Reviewed-on: https://review.typo3.org/26745
Reviewed-by: Oliver Klee
Reviewed-by: Eric Chavaillaz
Tested-by: Eric Chavaillaz
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.general.php
typo3/sysext/extbase/ext_tables.php
typo3/sysext/felogin/ext_tables.php
typo3/sysext/openid/ext_tables.php

index c36c791..bbc5bb2 100644 (file)
@@ -26,8 +26,7 @@ if (!defined('TYPO3_MODE')) {
                                ),
                        )
                ),
-       ),
-       1
+       )
 );
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
        'pages',
@@ -57,8 +56,7 @@ if (!defined('TYPO3_MODE')) {
                                ),
                        )
                ),
-       ),
-       1
+       )
 );
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
        'pages_language_overlay',
@@ -79,8 +77,7 @@ if (!defined('TYPO3_MODE')) {
                                ),
                        )
                ),
-       ),
-       1
+       )
 );
 
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
index 9e18672..7a40f00 100644 (file)
@@ -24,7 +24,7 @@ if (!isset($TCA['fe_users']['ctrl']['type'])) {
                        )
                )
        );
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_users', $tempColumns, 1);
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_users', $tempColumns);
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_users', 'tx_extbase_type');
        $TCA['fe_users']['ctrl']['type'] = 'tx_extbase_type';
 }
@@ -46,7 +46,7 @@ if (!isset($TCA['fe_groups']['ctrl']['type'])) {
                        )
                )
        );
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_groups', $tempColumns, 1);
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_groups', $tempColumns);
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_groups', 'tx_extbase_type');
        $TCA['fe_groups']['ctrl']['type'] = 'tx_extbase_type';
 }
index ad1f6df..ad2fced 100644 (file)
@@ -41,7 +41,7 @@ $tempColumns = array(
                )
        )
 );
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_groups', $tempColumns, 1);
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_groups', $tempColumns);
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_groups', 'felogin_redirectPid;;;;1-1-1', '', 'after:TSconfig');
 // Adds the redirect field and the forgotHash field to the fe_users-table
 $tempColumns = array(
@@ -70,5 +70,5 @@ $tempColumns = array(
                )
        )
 );
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_users', $tempColumns, 1);
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_users', $tempColumns);
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_users', 'felogin_redirectPid;;;;1-1-1', '', 'after:TSconfig');
index 5515a11..1c3006f 100644 (file)
@@ -27,13 +27,13 @@ $tempColumns = array(
        )
 );
 // Add new columns to be_users table
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('be_users', $tempColumns, FALSE);
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('be_users', $tempColumns);
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('be_users', 'tx_openid_openid;;;;1-1-1', '', 'after:username');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_users', 'EXT:' . $_EXTKEY . '/locallang_csh.xlf');
 // Prepare new columns for fe_users table
 $tempColumns['tx_openid_openid']['config']['eval'] = 'trim,nospace,uniqueInPid';
 // Add new columns to fe_users table
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_users', $tempColumns, FALSE);
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_users', $tempColumns);
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToAllPalettesOfField('fe_users', 'username', 'tx_openid_openid');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('fe_users', 'EXT:' . $_EXTKEY . '/locallang_csh.xlf');
 // Add field to setup module