[TYPO3-dev] Usage of feInterface is no longer part of the TYPO3 CMS Core.
Franz Holzinger
franz at ttproducts.de
Fri Jan 10 19:26:22 CET 2014
Le 10. 01. 14 16:44, François Suter a écrit :
> I introduced this deprecation warning but forgot to check if the Core
> used that parameter.
>
>> and found a few places:
>>
>> extbase/ext_tables.php:27:
>> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_users',
>>
>> $tempColumns, 1);
So you have made this change:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_groups',
$tempColumns, 1);
==>
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_groups',
$tempColumns);
You just removed the third parameter.
* @param boolean $addTofeInterface If $addTofeInterface is TRUE the list
of fields are also added to the fe_admin_fieldList.
------------------------------
static public function addTCAcolumns($table, $columnArray,
$addTofeInterface = FALSE) {
if (is_array($columnArray) && is_array($GLOBALS['TCA'][$table]) &&
is_array($GLOBALS['TCA'][$table]['columns'])) {
// Candidate for array_merge() if integer-keys will some day make
trouble...
$GLOBALS['TCA'][$table]['columns'] =
array_merge($GLOBALS['TCA'][$table]['columns'], $columnArray);
if ($addTofeInterface) {
GeneralUtility::deprecationLog(
'Usage of feInterface is no longer part of the TYPO3 CMS Core.
Please check EXT:statictemplates.'
);
}
}
}
------------
It would help if you could write a more informative entry for the
deprecation log.
- Franz
More information about the TYPO3-dev
mailing list