mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Don't clear out old daily logs unless the run was complete.
This commit is contained in:
parent
a3a031ce80
commit
aff2511993
@ -203,7 +203,9 @@
|
||||
if ($return == STATS_RUN_COMPLETE) {
|
||||
$return = stats_cron_monthly();
|
||||
}
|
||||
stats_clean_old();
|
||||
if ($return == STATS_RUN_COMPLETE) {
|
||||
stats_clean_old();
|
||||
}
|
||||
set_cron_lock('statsrunning',false);
|
||||
if (!empty($firsttime)) {
|
||||
set_cron_lock('statsfirstrunlock',false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user