Skip to content

Commit 549101a

Browse files
committed
fix(cron): do not reset document
Keep the baseVersionEtag and the editing session around in case people who are offline connect again later. Signed-off-by: Max <max@nextcloud.com>
1 parent c9d70dc commit 549101a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/Cron/Cleanup.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ protected function run($argument): void {
4242
// Inactive sessions will get removed further down and will trigger a reset next time
4343
continue;
4444
}
45-
46-
try {
47-
$this->documentService->resetDocument($document->getId());
48-
} catch (DocumentHasUnsavedChangesException) {
49-
}
5045
$this->attachmentService->cleanupAttachments($document->getId());
5146
}
5247

0 commit comments

Comments
 (0)