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/lib/controllers/sharecontroller.php | |
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/lib/controllers/sharecontroller.php')
-rw-r--r-- | apps/files_sharing/lib/controllers/sharecontroller.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/controllers/sharecontroller.php b/apps/files_sharing/lib/controllers/sharecontroller.php index 1d8eabc1984..cd013d4ca96 100644 --- a/apps/files_sharing/lib/controllers/sharecontroller.php +++ b/apps/files_sharing/lib/controllers/sharecontroller.php @@ -142,7 +142,6 @@ class ShareController extends Controller { return new TemplateResponse('core', '404', array(), 'guest'); } - $linkItem = OCP\Share::getShareByToken($token, false); $shareOwner = $linkItem['uid_owner']; $originalSharePath = null; $rootLinkItem = OCP\Share::resolveReShare($linkItem); |