Add TTL to control feed freshness

https://github.com/marienfressinaud/FreshRSS/issues/250
This commit is contained in:
Alexandre Alapetite
2014-07-06 00:09:31 +02:00
parent b48dc25963
commit bc8eb560af
12 changed files with 150 additions and 81 deletions

View File

@@ -125,7 +125,7 @@ class FreshRSS_entry_Controller extends Minz_ActionController {
$date_min = time() - (3600 * 24 * 30 * $nb_month_old);
$feedDAO = FreshRSS_Factory::createFeedDao();
$feeds = $feedDAO->listFeedsOrderUpdate();
$feeds = $feedDAO->listFeeds();
$nbTotal = 0;
invalidateHttpCache();