Merge pull request #21876 from nextcloud/backport/21855/stable19
[stable19] fix typo in revokeShare()
This commit is contained in:
commit
d2c152f46b
|
@ -561,7 +561,7 @@ class FederatedShareProvider implements IShareProvider {
|
||||||
* @throws \OC\HintException
|
* @throws \OC\HintException
|
||||||
*/
|
*/
|
||||||
protected function revokeShare($share, $isOwner) {
|
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
|
// If both the owner and the initiator of the share are local users we don't have to notify anybody else
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue