[TYPO3-core] RFC: #11249: Clean up: Deprecation clean-up in tslib_content::getData()
Benjamin Mack
benni at typo3.org
Wed Jun 3 23:43:27 CEST 2009
Hey Francois,
+1 after reading and testing!
One question: Why is global deprecated? How would I access e.g.
$GLOBALS['LANG']->charset or $GLOBALS['TCA']['pages']['ctrl']['title'] ?
All the best,
Benni.
On 03.06.2009 10:26 Uhr, Francois Suter wrote:
> This is an SVN patch request.
>
> Type: Code cleanup
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=11249
>
> Branches:
> Trunk
>
> Problem:
> Two issues regarding deprecation of usages of getText in TypoScript:
>
> 1) usage of "gpvar" is deprecated, but the deprecation log message
> appears also when using "gp"
>
> 2) according to the documentation, usage of "global" is deprecated since
> 4.2
>
> Solution:
> 1) Add test to log message only when "gpvar" is used
>
> 2) Add deprecation log for this
>
>
> Cheers
>
More information about the TYPO3-team-core
mailing list