Triggering dbclean after run

This commit is contained in:
Jeroen De Meerleer 2018-09-14 12:56:02 +02:00
parent 92afa1bba9
commit 88b6a46cc1
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ foreach ($results as $result) {
$nosave = false;
}
clean_database();
if (get_configvalue('dbclean.lastrun') + (60 * 60 * 24 * get_configvalue('dbclean.delay')) < time()) clean_database();
unlink('/tmp/webcron.lock');