]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix typo 21855/head
authorSergej Pupykin <pupykin.s@gmail.com>
Wed, 15 Jul 2020 23:19:21 +0000 (02:19 +0300)
committerSergej Pupykin <pupykin.s@gmail.com>
Wed, 15 Jul 2020 23:19:21 +0000 (02:19 +0300)
apps/federatedfilesharing/lib/FederatedShareProvider.php

index c026e4a63b1ddc86020b535e268d400c5f92f488..a4248259d8cc5739f74c7cf15908ece8b8c7e483 100644 (file)
@@ -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;
                }