Author: ryangrenz
Date: 2010-03-31 17:17:12 +0200 (Wed, 31 Mar 2010)
New Revision: 28928
Modified:
plugins/sfRediskaPlugin/lib/Doctrine_Cache_Redis.class.php
Log:
Merge branch 'master' into HEAD
Modified: plugins/sfRediskaPlugin/lib/Doctrine_Cache_Redis.class.php
===================================================================
--- plugins/sfRediskaPlugin/lib/Doctrine_Cache_Redis.class.php 2010-03-31
14:53:09 UTC (rev 28927)
+++ plugins/sfRediskaPlugin/lib/Doctrine_Cache_Redis.class.php 2010-03-31
15:17:12 UTC (rev 28928)
@@ -45,7 +45,7 @@
*/
protected function _doFetch($id, $testCacheValidity = true)
{
- return $this->_rediska->get($id);
+ return ($get = $this->_rediska->get($id)) ? $get : false;
}
/**
@@ -73,7 +73,7 @@
$pipeline = $this->_rediska->pipeline();
$pipeline->set($id, $data);
if ($lifeTime) {
- $pipe->expire($id,$lifeTime);
+ $pipeline->expire($id,$lifeTime);
}
return $pipeline->execute();
}
@@ -99,4 +99,4 @@
{
return $this->_rediska->getKeysByPattern('*');
}
-}
+}
\ No newline at end of file
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.