Project

General

Profile

Bug #21268 » t3lib_cache_backend_dbbackend.diff

Administrator Admin, 2009-11-03 17:28

View differences:

t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php (working copy)
'content',
$this->cacheTable,
'identifier = ' . $GLOBALS['TYPO3_DB']->fullQuoteStr($entryIdentifier, $this->cacheTable) . ' '
. 'AND (crdate + lifetime >= ' . $GLOBALS['EXEC_TIME'] . ' OR lifetime = 0)'
. 'AND (' . $GLOBALS['EXEC_TIME'] . ' <= crdate + lifetime OR lifetime = 0)'
);
if (count($cacheEntries) == 1) {
(3-3/3)