diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-11-15 16:27:41 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-11-15 16:27:41 +0100 |
commit | 11425d142d6a52345365af21a955c94ad14d4b69 (patch) | |
tree | e0f82f74ac44c8de106afbcbb963bbd45317409e /apps/files_sharing/public.php | |
parent | 630e46f60a7ac43815d14dd3d224de8ae3038465 (diff) | |
download | nextcloud-server-11425d142d6a52345365af21a955c94ad14d4b69.tar.gz nextcloud-server-11425d142d6a52345365af21a955c94ad14d4b69.zip |
readd sharing token to public template
necessary for https://github.com/owncloud/apps/pull/1476
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r-- | apps/files_sharing/public.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index 6504de84386..d59f9b7401a 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -149,6 +149,7 @@ if (isset($path)) { $tmpl->assign('mimetype', \OC\Files\Filesystem::getMimeType($path)); $tmpl->assign('fileTarget', basename($linkItem['file_target'])); $tmpl->assign('dirToken', $linkItem['token']); + $tmpl->assign('sharingToken', $token); $tmpl->assign('disableSharing', true); $allowPublicUploadEnabled = (bool) ($linkItem['permissions'] & OCP\PERMISSION_CREATE); if (\OCP\App::isEnabled('files_encryption')) { |