[TYPO3-core] FYI: Cleanup (wrong global statement) in new TYPO3AJAX class
Dmitry Dulepov [typo3]
dmitry at typo3.org
Wed Feb 13 16:51:05 CET 2008
Hi!
Benjamin Mack wrote:
> 1. removes the TYPO3_GLOBAL_VARS as this one is not needed anymore (was
> used in a previous version but wasn't removed).
This is ok :)
> 2. Adds LANG as this is used twice here, which is multiple usages IMHO
> and thus makes the code easier to read.
This is what I did not like (just got rid of some globals in tt_news). We require four as absolute minimum to allow "global" but we try not to use it at all because it is not immediately clear if variable is global or not.
--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
More information about the TYPO3-team-core
mailing list