summaryrefslogtreecommitdiffstats
path: root/apps/files_external/controller/userglobalstoragescontroller.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/controller/userglobalstoragescontroller.php')
-rw-r--r--apps/files_external/controller/userglobalstoragescontroller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/controller/userglobalstoragescontroller.php b/apps/files_external/controller/userglobalstoragescontroller.php
index b77e23104e4..c6f777763e8 100644
--- a/apps/files_external/controller/userglobalstoragescontroller.php
+++ b/apps/files_external/controller/userglobalstoragescontroller.php
@@ -65,7 +65,7 @@ class UserGlobalStoragesController extends StoragesController {
* @NoAdminRequired
*/
public function index() {
- $storages = $this->service->getAllStorages();
+ $storages = $this->service->getUniqueStorages();
// remove configuration data, this must be kept private
foreach ($storages as $storage) {