Skip to content

Commit 60707a8

Browse files
committed
Bug: Löschung von Snapshots korrigiert. Falsche Zeiteinheit
1 parent bb6062e commit 60707a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public static function cleanUpSnapshots(): void
166166
) as t2 ON t1.id = t2.id
167167
WHERE
168168
url_id = :url_id
169-
AND createdate < DATE_SUB(:datetime, INTERVAL :interval SECOND)
169+
AND createdate < DATE_SUB(:datetime, INTERVAL :interval MINUTE)
170170
', [
171171
'url_id' => $URL->getId(),
172172
'datetime' => date(rex_sql::FORMAT_DATETIME),

0 commit comments

Comments
 (0)