You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by ch...@apache.org on 2008/06/12 02:50:01 UTC

svn commit: r666934 - /incubator/shindig/trunk/php/src/common/CacheMemcache.php

Author: chabotc
Date: Wed Jun 11 17:50:01 2008
New Revision: 666934

URL: http://svn.apache.org/viewvc?rev=666934&view=rev
Log:
SHINDIG-380 clean up after expiration

Modified:
    incubator/shindig/trunk/php/src/common/CacheMemcache.php

Modified: incubator/shindig/trunk/php/src/common/CacheMemcache.php
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/common/CacheMemcache.php?rev=666934&r1=666933&r2=666934&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/common/CacheMemcache.php (original)
+++ incubator/shindig/trunk/php/src/common/CacheMemcache.php Wed Jun 11 17:50:01 2008
@@ -106,6 +106,7 @@
 			return false;
 		}
 		if (time() - $ret['time'] > $expiration) {
+			$this->delete($key);
 			return false;
 		}
 		return $ret['data'];