diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-03-20 12:50:48 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-03-20 15:33:35 +0000 |
commit | bb367f8cdda8237ad1084b3cd4d839939671ae2b (patch) | |
tree | cfa2967d80710a85465d95c74c4b49851ef88a29 /lib/private/Share20 | |
parent | 03ee137804b53d5182538dadb8d3501ae8c81031 (diff) | |
download | nextcloud-server-bb367f8cdda8237ad1084b3cd4d839939671ae2b.tar.gz nextcloud-server-bb367f8cdda8237ad1084b3cd4d839939671ae2b.zip |
Update lib/private/Share20/Manager.php
fixed tabulator
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 a15b2276ae6..4af2e58b94c 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -438,7 +438,7 @@ class Manager implements IManager { } // Identical share already existst - 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 user'); } |