text/lib/Cron
Jonas eded54c951
fix(backend): Remove yjs file and all steps when resetting document session
Instead of just deleting the newest steps, always remove all session
data: document, sessions and steps from the database as well as the yjs
(document state) file.

Without the `--force` option, don't reset document sessions with unsaved
steps.

Signed-off-by: Jonas <jonas@freesources.org>
2024-03-14 08:14:41 +01:00
..
Cleanup.php fix(backend): Remove yjs file and all steps when resetting document session 2024-03-14 08:14:41 +01:00