[TYPO3-core] FYI24 #15976: [version] Reference to global array $TCA without fetching from global scope

Oliver Klee typo3-german-02 at oliverklee.de
Wed Oct 13 14:00:30 CEST 2010


Hi,

Am 13.10.2010 13:48, schrieb Steffen Kamper:
>> global $TCA is more consistent but deprecated. Stick to
>> $GLOBALS['TCA'] for "new" code, just as you did.
>>
> 
> it's not deprecated. We decided to use $GLOBALS but if we have a huge
> amount of usage like $LANG-> we use globals then.

IIRC, Xavier's version is the current version, and the exception for
mass-usage is outdated. However, this is just from memory - I cannot
find anything about the use of globals in the current CGL.


Oli
-- 
Certified TYPO3 Integrator | TYPO3 Security Team Member


More information about the TYPO3-team-core mailing list