[TYPO3-core] RFC: #11271: Use 2 level cache for BEgetRootLine

Steffen Kamper info at sk-typo3.de
Fri Jun 5 11:16:33 CEST 2009


Hi Rupi,

Rupert Germann schrieb:
> hi steffen,
> 
> one question on reading: why do you introduce a new static var as firstlevel
> cache and drop the formerly used $GLOBALS['T3_VAR']['BEgetRootLine_cache']?
> I wouldn't be shure that this value isn't used elsewhere.
>

this var isn't used at any place, so imho it's not needed to use a 
global one for this. Usage of this var is exactly same as the new static 
var does, but now it's not polluting the $GLOBALS for this purpose.

vg Steffen



More information about the TYPO3-team-core mailing list