Project

General

Profile

Bug #20902 ยป 11746_optimize_isRecordLocked.diff

Administrator Admin, 2009-08-18 17:54

View differences:

t3lib/class.t3lib_befunc.php (Arbeitskopie)
public static function isRecordLocked($table, $uid) {
global $LOCKED_RECORDS;
if (!is_array($LOCKED_RECORDS)) {
$LOCKED_RECORDS = array();
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
'*',
'sys_lockedrecords',
    (1-1/1)