diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-03-20 12:51:26 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-03-20 15:33:35 +0000 |
commit | ab7858d1a9d8860cfdb9b47aa843840fa02689ba (patch) | |
tree | 46f3a73b3fcaff8d8295b4d6c5a7c2ec00e3efac /lib/private/Share20 | |
parent | bb367f8cdda8237ad1084b3cd4d839939671ae2b (diff) | |
download | nextcloud-server-ab7858d1a9d8860cfdb9b47aa843840fa02689ba.tar.gz nextcloud-server-ab7858d1a9d8860cfdb9b47aa843840fa02689ba.zip |
Update lib/private/Share20/Manager.php
tabulator change
Co-Authored-By: aignerat <46312655+aignerat@users.noreply.github.com>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r-- | lib/private/Share20/Manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 4af2e58b94c..c2ea165955f 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -493,7 +493,7 @@ class Manager implements IManager { //It is a new share so just continue } - if ($existingShare->getSharedWith() === $share->getSharedWith() && ($existingShare->getShareType() === $share->getShareType())) { + if ($existingShare->getSharedWith() === $share->getSharedWith() && $existingShare->getShareType() === $share->getShareType()) { throw new \Exception('Path is already shared with this group'); } } |