Delete cached items after the expiry is reached.

This commit is contained in:
2010-09-01 20:41:59 +01:00
parent cf2da4a499
commit 98402da94d

View File

@@ -34,6 +34,8 @@ class RippingCluster_Cache {
// Check to see if the cache has expired
if (filemtime($cache_filename) + $ttl < time()) {
// Delete the cached item
unlink($cache_filename);
return false;
}