[TYPO3-core] FYI: #10289: Pre-Cleanup for integration of a mass uploader

Dmitry Dulepov dmitry at typo3.org
Wed Jan 28 21:07:48 CET 2009


Hi!

Francois Suter wrote:
> 2) You changed the code to use $GLOBALS everywhere and so removed the
> "global" statement also everywhere except for method main() in
> typo3/tce_file.php. Could you check if it can be removed there too
> (should be ok if you have cleaned up all usages)?

One check that needs to be done: "global" cannot be removed from the function if that function uses "/(require|include)(_once)?/" functions. See t3lib_div::requireOnce() for details.

-- 
Dmitry Dulepov
TYPO3 core team
"Sometimes they go bad. No one knows why" (Cameron, TSCC, "Dungeons&Dragons")


More information about the TYPO3-team-core mailing list