mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-17 20:31:30 +00:00
fresh_article_max_age: use owner_uid when necessary
This commit is contained in:
@@ -2444,7 +2444,7 @@
|
|||||||
} else if ($n_feed == -3) {
|
} else if ($n_feed == -3) {
|
||||||
$match_part = "unread = true";
|
$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") {
|
if (DB_TYPE == "pgsql") {
|
||||||
$match_part .= " AND updated > NOW() - INTERVAL '$intl hour' ";
|
$match_part .= " AND updated > NOW() - INTERVAL '$intl hour' ";
|
||||||
|
|||||||
Reference in New Issue
Block a user