Requires a separate function, I know

This commit is contained in:
Jeroen De Meerleer 2018-09-14 13:09:28 +02:00
parent 776b79f4cd
commit 2704abc940
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -101,5 +101,5 @@ function clean_database() {
$stmt->execute(array($oldestrun));
$stmt = $db->prepare("UPDATE config SET value = ? WHERE conf = ?");
$stmt->execute(array('dbclean.lastrun', time()));
$stmt->execute(array(time(), 'dbclean.lastrun'));
}