]> source.dussan.org Git - nextcloud-server.git/commit
Handle empty DB while expiring versions 36556/head
authorLouis Chemineau <louis@chmn.me>
Mon, 6 Feb 2023 09:45:24 +0000 (10:45 +0100)
committerLouis (Rebase PR Action) <artonge@users.noreply.github.com>
Wed, 8 Feb 2023 13:56:49 +0000 (13:56 +0000)
commit21cd3b0e0d3b34ad0e3973aeac1d9a562456d258
tree8fdd7f0004fb76238b2976ab4a2fd635b24f72a7
parent7341d339eb7a1aa20c6b35e8edb40c1cd7946b96
Handle empty DB while expiring versions

Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual.

Fix https://github.com/nextcloud/server/issues/36541

Signed-off-by: Louis Chemineau <louis@chmn.me>
apps/files_versions/lib/Storage.php