From deaaa02c504a685ea383b203e1432fadd01d1a27 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 7 Sep 2005 15:03:30 +0100 Subject: fixed viewfeed/MarkAllRead behaviour --- functions.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 742e026f5..5736c016e 100644 --- a/functions.php +++ b/functions.php @@ -17,17 +17,7 @@ db_query($link, "BEGIN"); - if (!$fetch) { - - $result = db_query($link, "SELECT feed_url,id FROM ttrss_feeds WHERE - last_updated is null OR title = '' OR - EXTRACT(EPOCH FROM NOW()) - EXTRACT(EPOCH FROM last_updated) > " . - MIN_UPDATE_TIME); - - } else { - - $result = db_query($link, "SELECT feed_url,id FROM ttrss_feeds"); - } + $result = db_query($link, "SELECT feed_url,id FROM ttrss_feeds"); while ($line = db_fetch_assoc($result)) { update_rss_feed($link, $line["feed_url"], $line["id"]); @@ -207,7 +197,7 @@ content, content_hash, feed_id, - comments, + comments, no_orig_date) VALUES ('$entry_title', -- cgit v1.2.3-54-g00ecf