1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 07:05:56 +00:00

queryfeedheadlines: there's no need to quote order_by/override_order

else: feedicon cache busting etc
This commit is contained in:
Andrew Dolgov
2017-12-03 22:49:57 +03:00
parent 5f5b0de423
commit fa3bcfa379
5 changed files with 16 additions and 20 deletions

View File

@@ -183,7 +183,11 @@ class Counters {
$last_updated = make_local_datetime($line['last_updated'], false);
$has_img = feed_has_icon($id);
if (Feeds::feedHasIcon($id)) {
$has_img = filemtime(Feeds::getIconFile($id));
} else {
$has_img = false;
}
if (date('Y') - date('Y', strtotime($line['last_updated'])) > 2)
$last_updated = '';