From 118c9d58fe44788bb2b0b684ac1209c23f847ff6 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 6 Sep 2016 12:57:14 +0200 Subject: Fix fed share test call to return proper result Fixes an issue where retrying a previously failed federated share would not properly reset the availability flag because the return value was undefined instead of "true". --- apps/files_sharing/lib/External/Storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_sharing/lib/External') diff --git a/apps/files_sharing/lib/External/Storage.php b/apps/files_sharing/lib/External/Storage.php index 1ed6375cd4f..caa2bcf2a79 100644 --- a/apps/files_sharing/lib/External/Storage.php +++ b/apps/files_sharing/lib/External/Storage.php @@ -186,7 +186,7 @@ class Storage extends DAV implements ISharedStorage { public function test() { try { - parent::test(); + return parent::test(); } catch (StorageInvalidException $e) { // check if it needs to be removed $this->checkStorageAvailability(); -- cgit v1.2.3