aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Controller/UserStoragesController.php
diff options
context:
space:
mode:
authorJuan Pablo Villafáñez <jvillafanez@solidgear.es>2016-06-07 18:25:17 +0200
committerJuan Pablo Villafáñez <jvillafanez@solidgear.es>2016-06-07 18:25:17 +0200
commit110edd3d3ca37d496b54c651ab049cbaab503423 (patch)
tree5a7e2c14d10cec974487c86e748902cdf82032a2 /apps/files_external/lib/Controller/UserStoragesController.php
parent8526bbb347a7b1ea18b225b4dda40029534636db (diff)
downloadnextcloud-server-110edd3d3ca37d496b54c651ab049cbaab503423.tar.gz
nextcloud-server-110edd3d3ca37d496b54c651ab049cbaab503423.zip
Rename variable
Diffstat (limited to 'apps/files_external/lib/Controller/UserStoragesController.php')
-rw-r--r--apps/files_external/lib/Controller/UserStoragesController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/lib/Controller/UserStoragesController.php b/apps/files_external/lib/Controller/UserStoragesController.php
index 73f7178b142..ca949df8a05 100644
--- a/apps/files_external/lib/Controller/UserStoragesController.php
+++ b/apps/files_external/lib/Controller/UserStoragesController.php
@@ -101,8 +101,8 @@ class UserStoragesController extends StoragesController {
*
* {@inheritdoc}
*/
- public function show($id, $origin = null) {
- return parent::show($id, $origin);
+ public function show($id, $testOnly = null) {
+ return parent::show($id, $testOnly);
}
/**
@@ -171,7 +171,7 @@ class UserStoragesController extends StoragesController {
$authMechanism,
$backendOptions,
$mountOptions,
- $origin = null
+ $testOnly = null
) {
$storage = $this->createStorage(
$mountPoint,
@@ -201,7 +201,7 @@ class UserStoragesController extends StoragesController {
);
}
- $this->updateStorageStatus($storage, $origin);
+ $this->updateStorageStatus($storage, $testOnly);
return new DataResponse(
$storage,