diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-01-20 00:35:47 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-01-26 16:54:50 +0100 |
commit | 66f0db30b2ba97cbe91031b42740dabddc659f0d (patch) | |
tree | 87a3581924531ecb6ba40f7eee1ba6bf35c4ec81 /apps/files_sharing/api | |
parent | 836b80919feb3e32ab54d605385c32a5da053cdc (diff) | |
download | nextcloud-server-66f0db30b2ba97cbe91031b42740dabddc659f0d.tar.gz nextcloud-server-66f0db30b2ba97cbe91031b42740dabddc659f0d.zip |
use uid provided by setupfs hook to mount server2server shares, otherwise mount will fail for public link shares
Diffstat (limited to 'apps/files_sharing/api')
-rw-r--r-- | apps/files_sharing/api/server2server.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_sharing/api/server2server.php b/apps/files_sharing/api/server2server.php index f78d64caa73..7dce0df7d83 100644 --- a/apps/files_sharing/api/server2server.php +++ b/apps/files_sharing/api/server2server.php @@ -60,8 +60,9 @@ class Server2Server { \OC::$server->getDatabaseConnection(), \OC\Files\Filesystem::getMountManager(), \OC\Files\Filesystem::getLoader(), - \OC::$server->getUserSession(), - \OC::$server->getHTTPHelper()); + \OC::$server->getHTTPHelper(), + $shareWith + ); $name = \OCP\Files::buildNotExistingFileName('/', $name); |