summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/public.php
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2014-06-02 16:29:03 +0200
committerMorris Jobke <morris.jobke@gmail.com>2014-06-02 16:29:03 +0200
commit57ef089aac11f66f7cb29e9de1cb1e7d7bb46058 (patch)
treed68c62c5ee4c29cedc14756168e627356d9e914b /apps/files_sharing/public.php
parent6f4bdbdb9495227c1ad1bf170ad9caeddea127c7 (diff)
downloadnextcloud-server-57ef089aac11f66f7cb29e9de1cb1e7d7bb46058.tar.gz
nextcloud-server-57ef089aac11f66f7cb29e9de1cb1e7d7bb46058.zip
drop allowZIPdownload and maxZIPSize as options
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r--apps/files_sharing/public.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index 8a86cb3806a..4782c4dbe32 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -160,17 +160,12 @@ if (isset($path)) {
$folder->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
$folder->assign('freeSpace', $freeSpace);
$folder->assign('uploadLimit', $uploadLimit); // PHP upload limit
- $folder->assign('allowZipDownload', intval(OCP\Config::getSystemValue('allowZipDownload', true)));
$folder->assign('usedSpacePercent', 0);
$folder->assign('trash', false);
$tmpl->assign('folder', $folder->fetchPage());
- $allowZip = OCP\Config::getSystemValue('allowZipDownload', true);
- $tmpl->assign('allowZipDownload', intval($allowZip));
- $tmpl->assign('showDownloadButton', intval($allowZip));
$tmpl->assign('downloadURL',
OCP\Util::linkToPublic('files') . $urlLinkIdentifiers . '&download&path=' . urlencode($getPath));
} else {
- $tmpl->assign('showDownloadButton', true);
$tmpl->assign('dir', $dir);
// Show file preview if viewer is available