summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-01 15:05:54 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-01 15:05:54 +0100
commita2e13aea1513de2667a70d224396ed641a5dd179 (patch)
tree6f6844f58cd1eaeb0041f48cbcabe91f8289ffcf /apps/files_external
parent84d9704121cb9579504ce2f511c1e5b3fb0e9d30 (diff)
parent30509a479fd5ae2662af2bebd7c4a8e48f27c969 (diff)
downloadnextcloud-server-a2e13aea1513de2667a70d224396ed641a5dd179.tar.gz
nextcloud-server-a2e13aea1513de2667a70d224396ed641a5dd179.zip
Merge pull request #21909 from owncloud/files-external-visibility
Prevent invalid storages being displayed in the storages view
Diffstat (limited to 'apps/files_external')
-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 d71c4ff5ef7..db1cdeb23b9 100644
--- a/apps/files_external/controller/storagescontroller.php
+++ b/apps/files_external/controller/storagescontroller.php
@@ -279,7 +279,7 @@ abstract class StoragesController extends Controller {
* @return DataResponse
*/
public function index() {
- $storages = $this->service->getAllStorages();
+ $storages = $this->service->getStorages();
return new DataResponse(
$storages,