Merge pull request #3149 from tomamplius/master

Update databox.php
This commit is contained in:
jygaulier
2019-09-02 16:10:42 +02:00
committed by GitHub

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;