show failed external storages properly

remotes/origin/users-ajaxloadgroups
Robin Appelman 10 years ago
parent 4b4bf87f95
commit 2e3a5ccaaa
  1. 5
      apps/files_external/lib/config/configadapter.php

@ -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…
Cancel
Save