[BUGFIX] Revert abusive deprecation 85/20285/2
authorFrancois Suter <francois@typo3.org>
Mon, 29 Apr 2013 05:57:26 +0000 (07:57 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 29 Apr 2013 11:35:54 +0000 (13:35 +0200)
Due to obsolete phpDoc comments, BackendUtility::helpText()
was deprecated while it is still used in the Core.

Update phpDoc comments and remove deprecation.

Resolves: #47681
Releases: 6.0, 6.1, 6.2
Change-Id: I2ddc42b5c3082d22f031e2710614f749323da550
Reviewed-on: https://review.typo3.org/20285
Reviewed-by: Steffen Roßkamp
Tested-by: Steffen Roßkamp
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/backend/Classes/Utility/BackendUtility.php

index 4aaa601..11b5859 100644 (file)
@@ -2313,18 +2313,14 @@ class BackendUtility {
        }
 
        /**
-        * Returns CSH help text (description), if configured for.
-        * $GLOBALS['TCA_DESCR'] must be loaded prior to this function and $GLOBALS['BE_USER'] must have "edit_showFieldHelp" set to "text",
-        * otherwise nothing is returned.
+        * Returns CSH help text
         *
         * @param string $table Table name
         * @param string $field Field name
         * @return string HTML content for help text
-        * @depreacted since 6.0, will be removed two versions later
+        * @see wrapInHelp()
         */
        static public function helpText($table, $field) {
-               \TYPO3\CMS\Core\Utility\GeneralUtility::logDeprecatedFunction();
-
                $helpTextArray = self::helpTextArray($table, $field);
                $output = '';
                $arrow = '';