Update databox.php

This commit is contained in:
tomamplius
2019-08-20 11:29:35 +02:00
committed by GitHub
parent 139ed1da81
commit 7b6d322d21

View File

@@ -121,9 +121,9 @@ class cache_databox
$conn = $app->getApplicationBox()->get_connection(); $conn = $app->getApplicationBox()->get_connection();
$sql = 'UPDATE sitepreff SET memcached_update = :date'; $sql = 'UPDATE sitepreff SET memcached_update = current_timestamp()';
$stmt = $conn->prepare($sql); $stmt = $conn->prepare($sql);
$stmt->execute([':date' => $now]); $stmt->execute();
$stmt->closeCursor(); $stmt->closeCursor();
self::$refreshing = false; self::$refreshing = false;