[TASK] Merge submodule version into core
[Packages/TYPO3.CMS.git] / typo3 / sysext / openid / ext_tables.php
index c5d2474..e4bd6bb 100644 (file)
@@ -17,26 +17,24 @@ $tempColumns = array(
        )
 );
 // Add new columns to be_users table
-\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('be_users');
-\TYPO3\CMS\Core\Extension\ExtensionManager::addTCAcolumns('be_users', $tempColumns, FALSE);
-\TYPO3\CMS\Core\Extension\ExtensionManager::addToAllTCAtypes('be_users', 'tx_openid_openid;;;;1-1-1', '', 'after:username');
-\TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('be_users', ('EXT:' . $_EXTKEY) . '/locallang_csh.xml');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('be_users', $tempColumns, FALSE);
+\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.xml');
 // 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\GeneralUtility::loadTCA('fe_users');
-\TYPO3\CMS\Core\Extension\ExtensionManager::addTCAcolumns('fe_users', $tempColumns, FALSE);
-\TYPO3\CMS\Core\Extension\ExtensionManager::addFieldsToAllPalettesOfField('fe_users', 'username', 'tx_openid_openid');
-\TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('fe_users', ('EXT:' . $_EXTKEY) . '/locallang_csh.xml');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_users', $tempColumns, FALSE);
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToAllPalettesOfField('fe_users', 'username', 'tx_openid_openid');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('fe_users', 'EXT:' . $_EXTKEY . '/locallang_csh.xml');
 // Add field to setup module
 $GLOBALS['TYPO3_USER_SETTINGS']['columns']['tx_openid_openid'] = array(
        'type' => 'user',
        'table' => 'be_users',
        'label' => 'LLL:EXT:openid/locallang_db.xml:_MOD_user_setup.tx_openid_openid',
        'csh' => 'tx_openid_openid',
-       'userFunc' => 'EXT:openid/class.tx_openid_mod_setup.php:TYPO3\\CMS\\Openid\\OpenidModuleSetup->renderOpenID',
+       'userFunc' => 'TYPO3\\CMS\\Openid\\OpenidModuleSetup->renderOpenID',
        'access' => 'TYPO3\\CMS\\Openid\\OpenidModuleSetup'
 );
-\TYPO3\CMS\Core\Extension\ExtensionManager::addFieldsToUserSettings('tx_openid_openid', 'after:password2');
-\TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('_MOD_user_setup', 'EXT:openid/locallang_csh_mod.xml');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToUserSettings('tx_openid_openid', 'after:password2');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_user_setup', 'EXT:openid/locallang_csh_mod.xml');
 ?>
\ No newline at end of file