1
0
mirror of synced 2025-01-18 06:21:40 +03:00

[2.0] Fixed issue with Memcache driver that was failing to store cache entries indefinately

This commit is contained in:
guilhermeblanco 2010-03-19 16:01:55 +00:00
parent 583d276553
commit d24be0b69b

View File

@ -109,7 +109,7 @@ class MemcacheCache extends AbstractCache
*/
protected function _doSave($id, $data, $lifeTime = false)
{
return $this->_memcache->set($id, $data, 0, $lifeTime);
return $this->_memcache->set($id, $data, 0, $lifeTime ?: 0);
}
/**