summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php14
1 files changed, 2 insertions, 12 deletions
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',