From c3e260bdc368912b06535e82a2c0a939f4e56d38 Mon Sep 17 00:00:00 2001 From: Oliver Hader <oliver.hader@typo3.org> Date: Mon, 16 Nov 2009 18:16:32 +0000 Subject: [PATCH] Revert: Reverted revision 6361 due to new problems in DBAL git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6431 709f56b5-9817-0410-a4d7-c38de5d9e867 --- ChangeLog | 1 - t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9d65b0c66c82..bd3fec958119 100755 --- a/ChangeLog +++ b/ChangeLog @@ -167,7 +167,6 @@ * Fixed bug #12488: Remove redundant code from t3lib_matchCondition in favour of using t3lib_matchCondition_frontend * Fixed bug #11932: OpenID login does uses cURL even if was not defined in TYPO3_CONF_VARS * Follow-up to bugfix #9046: Modified type of new field sys_domain.forced - * Fixed bug #12231: Caching framework does not work with DBAL on Oracle (thanks to Xavier Perseguers) 2009-11-05 Martin Kutschker <masi@typo3.org> diff --git a/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php b/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php index 9744ef0e0fb1..9fcf1cd7aa6e 100644 --- a/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php +++ b/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php @@ -150,7 +150,7 @@ class t3lib_cache_backend_DbBackend extends t3lib_cache_backend_AbstractBackend 'content', $this->cacheTable, 'identifier = ' . $GLOBALS['TYPO3_DB']->fullQuoteStr($entryIdentifier, $this->cacheTable) . ' ' - . 'AND (' . $GLOBALS['EXEC_TIME'] . ' <= crdate + lifetime OR lifetime = 0)' + . 'AND (crdate + lifetime >= ' . $GLOBALS['EXEC_TIME'] . ' OR lifetime = 0)' ); if (count($cacheEntries) == 1) { -- GitLab