[TYPO3-core] FYI: Cleanup (wrong global statement) in new TYPO3AJAX class
Steffen Kamper
steffen at sk-typo3.de
Wed Feb 13 16:38:24 CET 2008
"Dmitry Dulepov [typo3]" <dmitry at typo3.org> schrieb im Newsbeitrag
news:mailman.1.1202916230.7672.typo3-team-core at lists.netfielders.de...
> Hi!
>
> Benjamin Mack wrote:
>> FYI: The attached patch was commited to 4.2 branch (rev. #3156). It fixes
>> some code that was not necessary.
>
> Well, I do not think it is necessary to have "global $LANG" in this case.
> We generally use global for more usages of variable. I prefer this
> particular change to be reverted. Makes cleaner code.
>
> --
> Dmitry Dulepov
> TYPO3 core team
> Web: http://typo3bloke.net/
> Skype: callto:liels_bugs
> "Nothing is impossible. There are only limits to our knowledge"
If there is no CGL for this it's no reason to revert, it's cleaner than
before.
btw - there are much more files that have "unclean" code
vg Steffen
More information about the TYPO3-team-core
mailing list