summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-11-23 17:10:58 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2015-11-24 10:26:36 +0100
commita2b8483779b5cb868309ca3f98051bfcaafd6ff9 (patch)
treedd438b207d622f9d15cb4f1e423524190508cbad /apps
parentaeae73b364048ebf3baf8cf6d692ac4f62467e7e (diff)
downloadnextcloud-server-a2b8483779b5cb868309ca3f98051bfcaafd6ff9.tar.gz
nextcloud-server-a2b8483779b5cb868309ca3f98051bfcaafd6ff9.zip
[Sharing 2.0] Default share provider only generic DI
No injection of userfolders etc. Only generic DI components (IRootFolder) etc should be used to make sure we can also run this from the cli
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/api/ocssharewrapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/api/ocssharewrapper.php b/apps/files_sharing/api/ocssharewrapper.php
index b93a994f756..ab54e5e5e34 100644
--- a/apps/files_sharing/api/ocssharewrapper.php
+++ b/apps/files_sharing/api/ocssharewrapper.php
@@ -34,7 +34,7 @@ class OCSShareWrapper {
\OC::$server->getDatabaseConnection(),
\OC::$server->getUserManager(),
\OC::$server->getGroupManager(),
- \OC::$server->getUserFolder()
+ \OC::$server->getRootFolder()
)
),
\OC::$server->getGroupManager(),