Update lib/private/Share20/Manager.php
fixed tabulator Co-Authored-By: aignerat <46312655+aignerat@users.noreply.github.com>
This commit is contained in:
parent
03ee137804
commit
bb367f8cdd
|
@ -438,7 +438,7 @@ class Manager implements IManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Identical share already existst
|
// 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');
|
throw new \Exception('Path is already shared with this user');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue