]> source.dussan.org Git - nextcloud-server.git/commit
Double check for failed cache with a shared storage 12108/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Tue, 16 Oct 2018 08:57:37 +0000 (10:57 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Mon, 29 Oct 2018 14:12:47 +0000 (15:12 +0100)
commit8d3220a4aad56a6c85bf9053f1c5a1fb38c57147
treea1fe6e6c6fc50daa902278407feb2a0c7168b412
parent48b57d1284ead63c65b387a77003a0415668a393
Double check for failed cache with a shared storage

When obtaining the SourceRootInfo we can call init. If this fails the
cache is set to a failed cache and the storage to a failed storage.
However we did not check for this. Which means that if the storage was
invalid it would fail later on.

Now we will properly error out.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/files_sharing/lib/SharedStorage.php