[BUGFIX] Fix phpDoc comment for addStaticFile() 81/23781/3
authorAlexander Stehlik <alexander.stehlik@googlemail.com>
Thu, 12 Sep 2013 09:57:51 +0000 (11:57 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 12 Sep 2013 11:54:00 +0000 (13:54 +0200)
The method
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile()
should be called in ext_tables.php files since it manipulates the
TCA.

Resolves: #51939
Releases: 6.2
Change-Id: I75f099fb5d64ee1e11867c41728b2747a666ebfd
Reviewed-on: https://review.typo3.org/23781
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php

index 6f072e3..d2d37ed 100644 (file)
@@ -1297,7 +1297,7 @@ tt_content.' . $key . $prefix . ' {
 
        /**
         * Call this method to add an entry in the static template list found in sys_templates
-        * FOR USE IN ext_localconf.php FILES
+        * FOR USE IN ext_tables.php FILES
         *
         * @param string $extKey Is of course the extension key
         * @param string $path Is the path where the template files (fixed names) include_static.txt (integer list of uids from the table "static_templates"), constants.txt, setup.txt, and include_static_file.txt is found (relative to extPath, eg. 'static/'). The file include_static_file.txt, allows you to include other static templates defined in files, from your static template, and thus corresponds to the field 'include_static_file' in the sys_template table. The syntax for this is a commaseperated list of static templates to include, like:  EXT:css_styled_content/static/,EXT:da_newsletter_subscription/static/,EXT:cc_random_image/pi2/static/