diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-15 14:36:18 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-15 14:36:18 +0100 |
commit | 807b885a0e83841b51b694afbb4b377e39215b0f (patch) | |
tree | dad2aeaddaf49d23dc82d0b47e17584db7ff5cd2 /apps/files_sharing/public.php | |
parent | 072ef7f010ca9f48119bc2397a82fdd0aac76beb (diff) | |
download | nextcloud-server-807b885a0e83841b51b694afbb4b377e39215b0f.tar.gz nextcloud-server-807b885a0e83841b51b694afbb4b377e39215b0f.zip |
reuse file upload as used within files app - remove public upload button
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r-- | apps/files_sharing/public.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index ae0a62f1034..e3d68955439 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -225,7 +225,8 @@ if (isset($path)) { $folder->assign('fileList', $list->fetchPage()); $folder->assign('breadcrumb', $breadcrumbNav->fetchPage()); $folder->assign('dir', $getPath); - $folder->assign('isCreatable', false); + $folder->assign('isCreatable', $allowPublicUploadEnabled); + $folder->assign('dirToken', $linkItem['token']); $folder->assign('permissions', OCP\PERMISSION_READ); $folder->assign('isPublic',true); $folder->assign('publicUploadEnabled', 'no'); |