diff options
Diffstat (limited to 'app/Models')
| -rw-r--r-- | app/Models/Feed.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php index 2baee9e0d..80d4e4580 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -859,7 +859,9 @@ class FreshRSS_Feed extends Minz_Model { /** @return int|false */ public function cacheModifiedTime() { - return @filemtime(FreshRSS_Feed::cacheFilename($this->url, $this->attributes(), $this->kind)); + $filename = FreshRSS_Feed::cacheFilename($this->url, $this->attributes(), $this->kind); + clearstatcache(true, $filename); + return @filemtime($filename); } public function lock(): bool { |
