show failed external storages properly
This commit is contained in:
parent
4b4bf87f95
commit
2e3a5ccaaa
|
@ -130,6 +130,11 @@ class ConfigAdapter implements IMountProvider {
|
|||
$impl = new FailedStorage(['exception' => $e]);
|
||||
}
|
||||
|
||||
$availability = $impl->getAvailability();
|
||||
if (!$availability['available']) {
|
||||
$impl = new FailedStorage(['exception' => null]);
|
||||
}
|
||||
|
||||
$mount = new MountPoint(
|
||||
$impl,
|
||||
'/' . $user->getUID() . '/files' . $storage->getMountPoint(),
|
||||
|
|
Loading…
Reference in New Issue