4
0
Эх сурвалжийг харах

SQL: Update cached values after an optimization

https://github.com/marienfressinaud/FreshRSS/issues/452
Alexandre Alapetite 12 жил өмнө
parent
commit
8a8fe93d34

+ 3 - 0
app/Controllers/entryController.php

@@ -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 (