Commit e727c0cf authored by dockx thibault's avatar dockx thibault
Browse files

Merge branch...

Merge branch '6270-snapshot-enhancement-in-order-to-provide-a-first-concept-of-revision-and-source-reference' into '1.4-dev'

Resolve "[Snapshot] - Enhancement in order to provide a first concept of revision and source reference"

Closes #6270

See merge request fusiondirectory/fd!1034
Showing with 1 addition and 1 deletion
+1 -1
......@@ -304,7 +304,7 @@ class SnapshotHandler
}
// calculate the epoch date on which snaps can be delete.
if ($snapRetentionDays !== 1) {
if ($snapRetentionDays !== -1) {
$todayMinusRetention = time() - ($snapRetentionDays * 24 * 60 * 60);
$snapDateToDelete = strtotime(date('Y-m-d H:i:s', $todayMinusRetention));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment