[TASK] Re-work/simplify copyright header in PHP files - Part 5
[Packages/TYPO3.CMS.git] / typo3 / sysext / felogin / ext_tables.php
index 8f8ada6..ad2fced 100644 (file)
@@ -3,7 +3,6 @@ if (!defined('TYPO3_MODE')) {
        die('Access denied.');
 }
 $_EXTCONF = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['felogin']);
-\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('tt_content');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('*', 'FILE:EXT:' . $_EXTKEY . '/flexform.xml', 'login');
 
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem('tt_content', 'CType', array(
@@ -42,8 +41,7 @@ $tempColumns = array(
                )
        )
 );
-\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('fe_groups');
-\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(
@@ -72,7 +70,5 @@ $tempColumns = array(
                )
        )
 );
-\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('fe_users');
-\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');
-?>
\ No newline at end of file