aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergej Pupykin <pupykin.s@gmail.com>2020-07-16 02:19:21 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-07-16 18:17:26 +0000
commite400719f738836e1449cceebbe3600787ef042a6 (patch)
treec3e9c6d8595271d5209a17e66a85c5d9031d4fd3
parent1822eec68f92cd7ecbfe45a01ccbe009bbd64c1c (diff)
downloadnextcloud-server-e400719f738836e1449cceebbe3600787ef042a6.tar.gz
nextcloud-server-e400719f738836e1449cceebbe3600787ef042a6.zip
fix typo
-rw-r--r--apps/federatedfilesharing/lib/FederatedShareProvider.php2
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;
}