Merge branch 'master' into PHRAS-2741-api-leaves-temporary-file-41

This commit is contained in:
Nicolas Maillat
2019-09-02 17:42:50 +02:00
committed by GitHub

View File

@@ -121,9 +121,9 @@ class cache_databox
$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->execute([':date' => $now]);
$stmt->execute();
$stmt->closeCursor();
self::$refreshing = false;