File tree 1 file changed +5
-5
lines changed
lib/internal/Magento/Framework/Cache/Backend
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 27
27
* ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
28
28
*/
29
29
30
- /**
31
- * Database cache backend
32
- */
33
30
namespace Magento \Framework \Cache \Backend ;
34
31
32
+ /**
33
+ * Database cache backend.
34
+ */
35
35
class Database extends \Zend_Cache_Backend implements \Zend_Cache_Backend_ExtendedInterface
36
36
{
37
37
/**
@@ -139,7 +139,7 @@ protected function _getTagsTable()
139
139
*
140
140
* Note : return value is always "string" (unserialization is done by the core not by the backend)
141
141
*
142
- * @param string $id Cache id
142
+ * @param string $id Cache id
143
143
* @param boolean $doNotTestCacheValidity If set to true, the cache validity won't be tested
144
144
* @return string|false cached datas
145
145
*/
@@ -432,7 +432,7 @@ public function touch($id, $extraLifetime)
432
432
return $ this ->_getConnection ()->update (
433
433
$ this ->_getDataTable (),
434
434
['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 ()]
436
436
);
437
437
} else {
438
438
return true ;
You can’t perform that action at this time.
0 commit comments