1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-25 11:57:42 +02:00

Fix starred images not being deleted

This commit is contained in:
Philip Klempin 2022-01-16 22:44:46 +00:00
parent 3cdbd4422c
commit a769ccc51c

View File

@ -85,10 +85,9 @@ class Cache_Starred_Images extends Plugin {
Debug::log("expiring {$this->cache->get_dir()} and {$this->cache_status->get_dir()}..."); Debug::log("expiring {$this->cache->get_dir()} and {$this->cache_status->get_dir()}...");
$files = array_merge( $files = array_merge(
glob($this->cache->get_dir() . "/*.png"), glob($this->cache->get_dir() . "/*-*"),
glob($this->cache->get_dir() . "/*.mp4"), glob($this->cache_status->get_dir() . "/*.status")
glob($this->cache_status->get_dir() . "/*.status"), );
glob($this->cache->get_dir() . "/*.status"));
asort($files); asort($files);