Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-03-20 14:50:48 +0300
committerGitHub <noreply@github.com>2019-03-20 14:50:48 +0300
commit2a3645a5a8a536ce4dfde48108badfcdba48d604 (patch)
tree0e839ef39183612ea395f5f9db306ef850cd2ccd
parentcde8a2896dedc007b8dd215b30ec4719a7706f7a (diff)
Update lib/private/Share20/Manager.php
fixed tabulator Co-Authored-By: aignerat <46312655+aignerat@users.noreply.github.com>
-rw-r--r--lib/private/Share20/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index 9229d6d5f05..62ceb8e73cd 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');
}