aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
diff options
context:
space:
mode:
authorSergej Pupykin <pupykin.s@gmail.com>2020-07-16 02:19:21 +0300
committerSergej Pupykin <pupykin.s@gmail.com>2020-07-16 02:19:21 +0300
commit1655ba9aeb3799bd22a47a962143d466ad2faf10 (patch)
treed0da26204acd1857b1c2ac504671b748e9468941 /apps/federatedfilesharing/lib
parent8368d56f8efd28098f2e0e7e3046c8c6a904449d (diff)
downloadnextcloud-server-1655ba9aeb3799bd22a47a962143d466ad2faf10.tar.gz
nextcloud-server-1655ba9aeb3799bd22a47a962143d466ad2faf10.zip
fix typo
Diffstat (limited to 'apps/federatedfilesharing/lib')
-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 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;
}