summaryrefslogtreecommitdiffstats
path: root/apps/files_external/controller
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2016-01-26 10:41:59 +0000
committerRobin McCorkell <rmccorkell@owncloud.com>2016-01-26 10:41:59 +0000
commit30509a479fd5ae2662af2bebd7c4a8e48f27c969 (patch)
tree318c5aa9533599cd722171fad55286714e4ee2dd /apps/files_external/controller
parentecf2d178b1c3db3000f4d9c9d65f08ec3890488e (diff)
downloadnextcloud-server-30509a479fd5ae2662af2bebd7c4a8e48f27c969.tar.gz
nextcloud-server-30509a479fd5ae2662af2bebd7c4a8e48f27c969.zip
Prevent invalid storages being displayed in the storages view
Diffstat (limited to 'apps/files_external/controller')
-rw-r--r--apps/files_external/controller/storagescontroller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/controller/storagescontroller.php b/apps/files_external/controller/storagescontroller.php
index 64b989f0c77..cbdb27a972b 100644
--- a/apps/files_external/controller/storagescontroller.php
+++ b/apps/files_external/controller/storagescontroller.php
@@ -268,7 +268,7 @@ abstract class StoragesController extends Controller {
* @return DataResponse
*/
public function index() {
- $storages = $this->service->getAllStorages();
+ $storages = $this->service->getStorages();
return new DataResponse(
$storages,