From e1e97313a2594a355dbc5ca42757d8dfc5d84578 Mon Sep 17 00:00:00 2001 From: zYne Date: Fri, 9 Feb 2007 23:16:47 +0000 Subject: [PATCH] --- lib/Doctrine/Cache/Memcache.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Doctrine/Cache/Memcache.php b/lib/Doctrine/Cache/Memcache.php index 92b7acbdc..88c67a5c2 100644 --- a/lib/Doctrine/Cache/Memcache.php +++ b/lib/Doctrine/Cache/Memcache.php @@ -111,15 +111,13 @@ class Doctrine_Cache_Memcache extends Doctrine_Cache_Driver */ public function save($id, $data, $lifeTime = false) { - $lifeTime = $this->getLifeTime($specificLifeTime); - if ($this->_options['compression']) { $flag = MEMCACHE_COMPRESSED; } else { $flag = 0; } - $result = $this->_memcache->set($id, array($data, time()), $flag, $lifeTime); + $result = $this->_memcache->set($id, $data, $flag, $lifeTime); } /** * Remove a cache record