Defered insertion: feedController bug

pull/1470/head
Alexandre Alapetite 8 years ago
parent 5541e39512
commit 282ea0cfd7
  1. 2
      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);

Loading…
Cancel
Save