Permalink
Browse files

Fix #20 use of isValidLife

  • Loading branch information...
1 parent 38d1456 commit d34422605fc53931ec0bbc810071583e3d390aa6 @winzou committed Aug 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Cache/LifetimeFileCache.php
@@ -84,12 +84,12 @@ public function deleteDeads()
$ids = $this->getIds();
foreach ($ids as $id) {
- if ($this->isValidLife($id)) {
+ if (!$this->isValidLife($id)) {
$this->_doDelete($id);
$deleted[] = $id;
}
}
return $deleted;
}
-}
+}

0 comments on commit d344226

Please sign in to comment.