mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Update databox.php
This commit is contained in:
4
lib/classes/cache/databox.php
vendored
4
lib/classes/cache/databox.php
vendored
@@ -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;
|
||||||
|
Reference in New Issue
Block a user