mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-16 12:24:46 -04:00
Bug updateCachedValues
This commit is contained in:
@@ -159,9 +159,9 @@ class feedController extends ActionController {
|
||||
$nb_month_old = $this->view->conf->oldEntries ();
|
||||
$date_min = time () - (60 * 60 * 24 * 30 * $nb_month_old);
|
||||
if (rand(0, 30) === 1) {
|
||||
$nb= $entryDAO->cleanOldEntries ($date_min);
|
||||
$nb = $entryDAO->cleanOldEntries ($date_min);
|
||||
Minz_Log::record ($nb . ' old entries cleaned.', Minz_Log::DEBUG);
|
||||
if ($nbOld > 0) {
|
||||
if ($nb > 0) {
|
||||
$nb = $feedDAO->updateCachedValues ();
|
||||
Minz_Log::record ($nb . ' cached values updated.', Minz_Log::DEBUG);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user