remove cache valid bailout clause
This commit is contained in:
parent
865a3ed6a0
commit
52637d3b30
1 changed files with 6 additions and 10 deletions
|
@ -266,16 +266,12 @@
|
|||
|
||||
_debug("using local cache.", $debug_enabled);
|
||||
|
||||
if ($cache_timestamp > $last_article_timestamp) {
|
||||
@$feed_data = file_get_contents($cache_filename);
|
||||
|
||||
if ($feed_data) {
|
||||
$rss_hash = sha1($feed_data);
|
||||
}
|
||||
} else if (!$force_refetch) {
|
||||
_debug("local cache valid and older than last_updated, nothing to do.", $debug_enabled);
|
||||
return;
|
||||
}
|
||||
|
||||
} else {
|
||||
_debug("local cache will not be used for this feed", $debug_enabled);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue