diff options
author | Sergej Pupykin <pupykin.s@gmail.com> | 2020-07-16 02:19:21 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-07-16 18:17:26 +0000 |
commit | e400719f738836e1449cceebbe3600787ef042a6 (patch) | |
tree | c3e9c6d8595271d5209a17e66a85c5d9031d4fd3 | |
parent | 1822eec68f92cd7ecbfe45a01ccbe009bbd64c1c (diff) | |
download | nextcloud-server-e400719f738836e1449cceebbe3600787ef042a6.tar.gz nextcloud-server-e400719f738836e1449cceebbe3600787ef042a6.zip |
fix typo
-rw-r--r-- | apps/federatedfilesharing/lib/FederatedShareProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/lib/FederatedShareProvider.php b/apps/federatedfilesharing/lib/FederatedShareProvider.php index 228fab305b9..dc4af24bc13 100644 --- a/apps/federatedfilesharing/lib/FederatedShareProvider.php +++ b/apps/federatedfilesharing/lib/FederatedShareProvider.php @@ -561,7 +561,7 @@ class FederatedShareProvider implements IShareProvider { * @throws \OC\HintException */ protected function revokeShare($share, $isOwner) { - if ($this->userManager->userExists($share->getShareOwner() && $this->userManager->userExists($share->getSharedBy()))) { + if ($this->userManager->userExists($share->getShareOwner()) && $this->userManager->userExists($share->getSharedBy())) { // If both the owner and the initiator of the share are local users we don't have to notify anybody else return; } |