File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
lib/internal/Magento/Framework/Cache/Backend Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2727 * ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
2828 */
2929
30- /**
31- * Database cache backend
32- */
3330namespace Magento \Framework \Cache \Backend ;
3431
32+ /**
33+ * Database cache backend.
34+ */
3535class Database extends \Zend_Cache_Backend implements \Zend_Cache_Backend_ExtendedInterface
3636{
3737 /**
@@ -139,7 +139,7 @@ protected function _getTagsTable()
139139 *
140140 * Note : return value is always "string" (unserialization is done by the core not by the backend)
141141 *
142- * @param string $id Cache id
142+ * @param string $id Cache id
143143 * @param boolean $doNotTestCacheValidity If set to true, the cache validity won't be tested
144144 * @return string|false cached datas
145145 */
@@ -432,7 +432,7 @@ public function touch($id, $extraLifetime)
432432 return $ this ->_getConnection ()->update (
433433 $ this ->_getDataTable (),
434434 ['expire_time ' => new \Zend_Db_Expr ('expire_time+ ' . $ extraLifetime )],
435- ['id=? ' => $ id , 'expire_time = 0 OR expire_time> ' => time ()]
435+ ['id=? ' => $ id , 'expire_time = 0 OR expire_time>? ' => time ()]
436436 );
437437 } else {
438438 return true ;
You can’t perform that action at this time.
0 commit comments