summaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-09-09 12:57:01 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-04-13 12:58:49 +0200
commit7dcc98eb202c089a2966004ffb988166f3c4e3d7 (patch)
treea21475a4f53feeea5f548e0135ee7da597d8ae3d /lib/private/Share20
parentd84df155900bfdb58a8826802cde5a096065a078 (diff)
downloadnextcloud-server-7dcc98eb202c089a2966004ffb988166f3c4e3d7.tar.gz
nextcloud-server-7dcc98eb202c089a2966004ffb988166f3c4e3d7.zip
Add owner to access list
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Share20')
-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 127eef423ed..ce0444a76ba 100644
--- a/lib/private/Share20/Manager.php
+++ b/lib/private/Share20/Manager.php
@@ -1221,7 +1221,7 @@ class Manager implements IManager {
$path = $path->getParent();
}
- $users = [];
+ $users = [$owner => 'null'];
$public = false;
$remote = false;
foreach ($shares as $share) {