]> git.wh0rd.org - tt-rss.git/commitdiff
updater: show owner_uid for checked feeds
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 1 May 2013 22:02:49 +0000 (02:02 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 1 May 2013 22:02:49 +0000 (02:02 +0400)
include/rssfuncs.php

index 662600332ba16141dcb0df6692cfc3f06bc03102..594c2963388ae51f5dddbc57ebd5b36147009674 100644 (file)
 
                        // since we have the data cached, we can deal with other feeds with the same url
 
-                       $tmp_result = db_query("SELECT DISTINCT ttrss_feeds.id,last_updated
+                       $tmp_result = db_query("SELECT DISTINCT ttrss_feeds.id,last_updated,ttrss_feeds.owner_uid
                        FROM ttrss_feeds, ttrss_users, ttrss_user_prefs WHERE
                                ttrss_user_prefs.owner_uid = ttrss_feeds.owner_uid AND
                                ttrss_users.id = ttrss_user_prefs.owner_uid AND
 
                        if (db_num_rows($tmp_result) > 0) {
                                while ($tline = db_fetch_assoc($tmp_result)) {
-                                       if($debug) _debug(" => " . $tline["last_updated"] . ", " . $tline["id"]);
+                                       if($debug) _debug(" => " . $tline["last_updated"] . ", " . $tline["id"] . " " . $tline["owner_uid"]);
                                        update_rss_feed($tline["id"], true);
                                        ++$nf;
                                }