Project

General

Profile

Actions

Bug #51939

closed

Wrong phpDoc comment for ExtensionManagementUtility::addStaticFile()

Added by Alexander Stehlik over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2013-09-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile() has currently this comment:

/**
 * Call this method to add an entry in the static template list found in sys_templates
 * FOR USE IN ext_localconf.php FILES
 * ..
 */

Since this method maipulates the TCA it will NOT work when placed in ext_localconf.php files. The comment should be changed to:

FOR USE IN ext_tables.php FILES
Actions

Also available in: Atom PDF