]> git.wh0rd.org Git - tt-rss.git/commitdiff
update: exclude feeds with disabled updates
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 29 Mar 2013 08:31:53 +0000 (12:31 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 29 Mar 2013 08:31:53 +0000 (12:31 +0400)
include/rssfuncs.php

index da810314486b95093934d1668204be0d995b8456..d9a907c1840eea880b6cd64331b9e74cc922a37d 100644 (file)
                        $tmp_result = db_query($link, "SELECT ttrss_feeds.feed_url,ttrss_feeds.id,last_updated
                        FROM ttrss_feeds, ttrss_users WHERE
                                ttrss_users.id = ttrss_feeds.owner_uid AND
-                               feed_url = '".db_escape_string($link, $feed)."'
+                               feed_url = '".db_escape_string($link, $feed)."' AND
+                               ttrss_feeds.update_interval != -1
                                $login_thresh_qpart
                        ORDER BY feed_url $query_limit");