]> git.wh0rd.org Git - tt-rss.git/commitdiff
fresh_article_max_age: use owner_uid when necessary
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 15:23:36 +0000 (16:23 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 15:23:36 +0000 (16:23 +0100)
functions.php

index 50f5f7236866556b37e4123da06eb03f00f0a2a6..ce0360c89a0ff86350769396e30ba4eb0f664eb3 100644 (file)
                } else if ($n_feed == -3) {
                        $match_part = "unread = true";
 
-                       $intl = get_pref($link, "FRESH_ARTICLE_MAX_AGE");
+                       $intl = get_pref($link, "FRESH_ARTICLE_MAX_AGE", $owner_uid);
 
                        if (DB_TYPE == "pgsql") {
                                $match_part .= " AND updated > NOW() - INTERVAL '$intl hour' ";