summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/public.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-11-21 12:06:35 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2013-11-21 12:06:35 +0100
commit9d16353e094a3567eb09f9626d8768890fe57cbc (patch)
treecc3352cce4cf5caf9656654a25fb6ad9cbb65cb0 /apps/files_sharing/public.php
parentc9646ddc4c23faebcd729b6d7061dbadaf475a10 (diff)
downloadnextcloud-server-9d16353e094a3567eb09f9626d8768890fe57cbc.tar.gz
nextcloud-server-9d16353e094a3567eb09f9626d8768890fe57cbc.zip
disable trahs in files_sharing/public.php
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r--apps/files_sharing/public.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index 99b74da6a1a..3c902ea9a3a 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -238,6 +238,7 @@ if (isset($path)) {
$folder->assign('usedSpacePercent', 0);
$folder->assign('fileHeader', $fileHeader);
$folder->assign('disableSharing', true);
+ $folder->assign('trash', false);
$folder->assign('emptyContent', $emptyContent);
$folder->assign('ajaxLoad', false);
$tmpl->assign('folder', $folder->fetchPage());