diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-12 19:42:36 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-12 19:42:36 +0200 |
commit | c668c5b997e94f7f2185ce9931d2a4bf2ce553c1 (patch) | |
tree | 1e53a85eb39f37f622b52d7dc7f32cbb913d64a9 /lib | |
parent | 09d5b61c9e468cdc0b92db27946140e68192e2e5 (diff) | |
download | nextcloud-server-c668c5b997e94f7f2185ce9931d2a4bf2ce553c1.tar.gz nextcloud-server-c668c5b997e94f7f2185ce9931d2a4bf2ce553c1.zip |
fix selection of share provider
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Share20/ProviderFactory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php index 80ef9412ffa..e4d34146911 100644 --- a/lib/private/Share20/ProviderFactory.php +++ b/lib/private/Share20/ProviderFactory.php @@ -251,7 +251,7 @@ class ProviderFactory implements IProviderFactory { $shareType === \OCP\Share::SHARE_TYPE_LINK ) { $provider = $this->defaultShareProvider(); - } else if ($shareType === \OCP\Share::SHARE_TYPE_REMOTE || \OCP\Share::SHARE_TYPE_REMOTE_GROUP) { + } else if ($shareType === \OCP\Share::SHARE_TYPE_REMOTE || $shareType === \OCP\Share::SHARE_TYPE_REMOTE_GROUP) { $provider = $this->federatedShareProvider(); } else if ($shareType === \OCP\Share::SHARE_TYPE_EMAIL) { $provider = $this->getShareByMailProvider(); |