SQL: Update cached values after an optimization

https://github.com/marienfressinaud/FreshRSS/issues/452
This commit is contained in:
Alexandre Alapetite
2014-03-10 17:34:29 +01:00
parent 5c2daf58a8
commit 8a8fe93d34

View File

@@ -100,6 +100,9 @@ class FreshRSS_entry_Controller extends Minz_ActionController {
$entryDAO = new FreshRSS_EntryDAO();
$entryDAO->optimizeTable();
$feedDAO = new FreshRSS_FeedDAO();
$feedDAO->updateCachedValues();
invalidateHttpCache();
$notif = array (