summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Service/UserStoragesService.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/Service/UserStoragesService.php')
-rw-r--r--apps/files_external/lib/Service/UserStoragesService.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_external/lib/Service/UserStoragesService.php b/apps/files_external/lib/Service/UserStoragesService.php
index b225f1eec8c..db03befa852 100644
--- a/apps/files_external/lib/Service/UserStoragesService.php
+++ b/apps/files_external/lib/Service/UserStoragesService.php
@@ -112,8 +112,7 @@ class UserStoragesService extends StoragesService {
*/
public function addStorage(StorageConfig $newStorage) {
$newStorage->setApplicableUsers([$this->getUser()->getUID()]);
- $config = parent::addStorage($newStorage);
- return $config;
+ return parent::addStorage($newStorage);
}
/**