Make functions, not variables

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

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('dbclean.lastrun', time()));
}