aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/feedController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-03-27 22:09:18 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-03-27 22:09:18 +0200
commit282ea0cfd782a69e7a9ca774d9a9e0f4f1b5c401 (patch)
treec5ea2bc0490e53f753e13f1dd1b758803de7459b /app/Controllers/feedController.php
parent5541e3951262bf93fc0eeb4938d6b93b01bfd1bd (diff)
Defered insertion: feedController bug
Diffstat (limited to 'app/Controllers/feedController.php')
-rwxr-xr-xapp/Controllers/feedController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php
index 5359ad198..bfa0ae160 100755
--- a/app/Controllers/feedController.php
+++ b/app/Controllers/feedController.php
@@ -308,6 +308,7 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
// -2 means we take the default value from configuration
$feed_history = FreshRSS_Context::$user_conf->keep_history_default;
}
+ $needFeedCacheRefresh = false;
// We want chronological order and SimplePie uses reverse order.
$entries = array_reverse($feed->entries());
@@ -321,7 +322,6 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
unset($newGuids);
$oldGuids = array();
- $needFeedCacheRefresh = false;
// Add entries in database if possible.
foreach ($entries as $entry) {
$entry_date = $entry->date(true);