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
1 changed files with 1 additions and 1 deletions

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' ";