summaryrefslogtreecommitdiff
path: root/classes/rssutils.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-11-24 18:49:36 +0300
committerAndrew Dolgov <[email protected]>2022-11-24 18:49:36 +0300
commitbe6bc72a742c5fb7f87a4495009ed71ff0fbb8d8 (patch)
tree332c7c5fd0dcccd929bb81203f54290f7ea5cf21 /classes/rssutils.php
parent3180b358076011d6a65b93bfa9323465447c755d (diff)
DiskCache: tweak how expiration is invoked
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-xclasses/rssutils.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php
index 15efa77bd..22859791d 100755
--- a/classes/rssutils.php
+++ b/classes/rssutils.php
@@ -1673,7 +1673,8 @@ class RSSUtils {
}
static function housekeeping_common(): void {
- DiskCache::expire();
+ $cache = new DiskCache("");
+ $cache->expire_all();
self::expire_lock_files();
self::expire_error_log();