mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
fix typo
This commit is contained in:
parent
2e09c6f922
commit
2fb7b40f7d
1 changed files with 1 additions and 1 deletions
|
|
@ -563,7 +563,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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue