diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-07-16 19:58:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-16 19:58:49 +0200 |
commit | 514dc45468dcbc0954d2db0865b14e7911eb5929 (patch) | |
tree | c87b3058e1c75ec181aa664594328e0e13fa46af /apps | |
parent | 684a7200ac1001284a0901eb00e3773f7a1233b5 (diff) | |
parent | 1655ba9aeb3799bd22a47a962143d466ad2faf10 (diff) | |
download | nextcloud-server-514dc45468dcbc0954d2db0865b14e7911eb5929.tar.gz nextcloud-server-514dc45468dcbc0954d2db0865b14e7911eb5929.zip |
Merge pull request #21855 from p5n/master
fix typo in revokeShare()
Diffstat (limited to 'apps')
-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 c026e4a63b1..a4248259d8c 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; } |