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/ajax | |
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/ajax')
-rw-r--r-- | apps/files_sharing/ajax/external.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/ajax/external.php b/apps/files_sharing/ajax/external.php index 1a709eda07c..a206cacafa3 100644 --- a/apps/files_sharing/ajax/external.php +++ b/apps/files_sharing/ajax/external.php @@ -34,8 +34,8 @@ $externalManager = new \OCA\Files_Sharing\External\Manager( \OC::$server->getDatabaseConnection(), \OC\Files\Filesystem::getMountManager(), \OC\Files\Filesystem::getLoader(), - \OC::$server->getUserSession(), - \OC::$server->getHTTPHelper() + \OC::$server->getHTTPHelper(), + \OC::$server->getUserSession()->getUser()->getUID() ); $name = OCP\Files::buildNotExistingFileName('/', $name); |