[TYPO3-core] RFC #11746: speed up function t3lib_BEfunc::isRecordLocked()

Oliver Klee typo3-german-02 at oliverklee.de
Wed Aug 19 11:36:41 CEST 2009


Hi,

Steffen Kamper schrieb:
> btw - should the return be tested also?
> 
> return isset($LOCKED_RECORDS[$table.':'.$uid]) ?
> $LOCKED_RECORDS[$table.':'.$uid] : array();

Yes, that would be good as well (but it should be a separate issue).

In addition, we could move the cache hit to a guard clause so we have
one level of nesting less.


Oliver


More information about the TYPO3-team-core mailing list