* Change the logic for clearing expired actions.

This commit is contained in:
tianshujie
2023-08-30 16:52:15 +08:00
parent 5b214f3e2c
commit 0456ff26fa
3 changed files with 13 additions and 3 deletions
+3
View File
@@ -1424,6 +1424,9 @@ class programModel extends model
/* 6. Update projectStatsTime in config. */
$this->loadModel('setting')->setItem('system.common.global.projectStatsTime', $now);
$this->app->config->global->projectStatsTime = $now;
/* 7. Clear actions older than 30 days. */
$this->cleanActions();
}
/**