diff options
author | Juan Pablo Villafáñez <jvillafanez@solidgear.es> | 2016-06-07 16:53:16 +0200 |
---|---|---|
committer | Juan Pablo Villafáñez <jvillafanez@solidgear.es> | 2016-06-07 16:53:16 +0200 |
commit | 8526bbb347a7b1ea18b225b4dda40029534636db (patch) | |
tree | 7600c448bbde5b8501ed35f23fbc8b50ede29de3 /apps/files_external/lib/config.php | |
parent | f28f6ad2df59b8faa9589bffbc9d2c53b03a2840 (diff) | |
download | nextcloud-server-8526bbb347a7b1ea18b225b4dda40029534636db.tar.gz nextcloud-server-8526bbb347a7b1ea18b225b4dda40029534636db.zip |
Add support to know where the storage test comes from
Diffstat (limited to 'apps/files_external/lib/config.php')
-rw-r--r-- | apps/files_external/lib/config.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index 86aafcf5770..51d62449782 100644 --- a/apps/files_external/lib/config.php +++ b/apps/files_external/lib/config.php @@ -215,7 +215,7 @@ class OC_Mount_Config { * @return int see self::STATUS_* * @throws Exception */ - public static function getBackendStatus($class, $options, $isPersonal) { + public static function getBackendStatus($class, $options, $isPersonal, $origin = null) { if (self::$skipTest) { return StorageNotAvailableException::STATUS_SUCCESS; } @@ -228,7 +228,7 @@ class OC_Mount_Config { $storage = new $class($options); try { - $result = $storage->test($isPersonal); + $result = $storage->test($isPersonal, $origin); $storage->setAvailability($result); if ($result) { return StorageNotAvailableException::STATUS_SUCCESS; |