[TASK] Use extension's name in documentation
[Packages/TYPO3.CMS.git] / typo3 / sysext / saltedpasswords / ext_tables.php
index 0f1e31d..5d6044a 100644 (file)
@@ -2,7 +2,6 @@
 if (!defined('TYPO3_MODE')) {
        die('Access denied.');
 }
-\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('fe_users');
 $GLOBALS['TCA']['fe_users']['columns']['password']['config']['max'] = 100;
 if (\TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility::isUsageEnabled('FE')) {
        // Get eval field operations methods as array keys
@@ -10,12 +9,11 @@ if (\TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility::isUsageEnabled('F
        // Remove md5 and temporary password from the list of evaluated methods
        unset($operations['md5'], $operations['password']);
        // Append new methods to have "password" as last operation.
-       $operations['TYPO3\\CMS\\Saltedpasswords\\Evaluation\\Evaluator_fe'] = 1;
+       $operations['tx_saltedpasswords_eval_fe'] = 1;
        $operations['password'] = 1;
        $GLOBALS['TCA']['fe_users']['columns']['password']['config']['eval'] = implode(',', array_keys($operations));
        unset($operations);
 }
-\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('be_users');
 $GLOBALS['TCA']['be_users']['columns']['password']['config']['max'] = 100;
 if (\TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility::isUsageEnabled('BE')) {
        // Get eval field operations methods as array keys
@@ -23,7 +21,7 @@ if (\TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility::isUsageEnabled('B
        // Remove md5 and temporary password from the list of evaluated methods
        unset($operations['md5'], $operations['password']);
        // Append new methods to have "password" as last operation.
-       $operations['TYPO3\\CMS\\Saltedpasswords\\Evaluation\\BackendEvaluator'] = 1;
+       $operations['tx_saltedpasswords_eval_be'] = 1;
        $operations['password'] = 1;
        $GLOBALS['TCA']['be_users']['columns']['password']['config']['eval'] = implode(',', array_keys($operations));
        unset($operations);
@@ -32,5 +30,5 @@ if (\TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility::isUsageEnabled('B
        $GLOBALS['TYPO3_USER_SETTINGS']['columns']['password2']['eval'] = '';
 }
 // Add context sensitive help (csh) for scheduler task
-\TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('_txsaltedpasswords', ('EXT:' . $_EXTKEY) . '/locallang_csh_saltedpasswords.xml');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_txsaltedpasswords', 'EXT:' . $_EXTKEY . '/locallang_csh_saltedpasswords.xlf');
 ?>
\ No newline at end of file