Make functions, not variables
This commit is contained in:
parent
88b6a46cc1
commit
776b79f4cd
|
@ -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()));
|
||||
}
|
Loading…
Reference in New Issue