fix selection of share provider
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
09d5b61c9e
commit
c668c5b997
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue