diff --git a/shared/cache.php b/shared/cache.php index c25e41d..363f87c 100644 --- a/shared/cache.php +++ b/shared/cache.php @@ -47,8 +47,8 @@ class UupDumpCache { $expires = $cache['expires']; $isExpired = ($expires !== false) && (time() > $expires); - if(empty($cache['content']) && $isExpired) { - $this->deleteCache(); + if(empty($cache['content']) || $isExpired) { + $this->delete(); return false; }