nextcloud/apps/files_versions/lib/Versions
Max 7f2de58e4c
fix: catch ManuallyLockedException and use app context
The files_lock app may throw ManuallyLockedExceptions
when attempting to revert a file that is currently opened.
This would prevent the user from rolling back a opened file.

Text and Richdocuments handle changes of the file while editing.
Allow reverting files even when they are locked by these apps
and let the apps handle the conflict.

Signed-off-by: Max <max@nextcloud.com>
2023-05-04 09:41:27 +02:00
..
BackendNotFoundException.php Update php licenses 2021-06-04 22:02:41 +02:00
IVersion.php Update php licenses 2021-06-04 22:02:41 +02:00
IVersionBackend.php Update php licenses 2021-06-04 22:02:41 +02:00
IVersionManager.php Update php licenses 2021-06-04 22:02:41 +02:00
LegacyVersionsBackend.php Update php licenses 2021-06-04 22:02:41 +02:00
Version.php Update php licenses 2021-06-04 22:02:41 +02:00
VersionManager.php fix: catch ManuallyLockedException and use app context 2023-05-04 09:41:27 +02:00