1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 23:05:55 +00:00

fresh_article_max_age: use owner_uid when necessary

This commit is contained in:
Andrew Dolgov
2009-01-16 16:23:36 +01:00
parent 0737b95a56
commit b71e188e27

View File

@@ -2444,7 +2444,7 @@
} 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' ";