summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-02-26 14:01:21 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-02-26 14:01:21 +0100
commit7b2b74d731207596511316375b7909e28048a4d8 (patch)
tree680ddc3947dfa4bf5c1397d8289bb34cb444186c /apps/files_sharing
parentadc986f3e4b83670f69e2ce48044595193be4e69 (diff)
parent5bb0889b30e25c63108c5ab0bf5eb7e8d6d1acdb (diff)
downloadnextcloud-server-7b2b74d731207596511316375b7909e28048a4d8.tar.gz
nextcloud-server-7b2b74d731207596511316375b7909e28048a4d8.zip
Merge pull request #14473 from owncloud/remove-uneeded-assignment
Remove uneeded assignment
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/controllers/sharecontroller.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/controllers/sharecontroller.php b/apps/files_sharing/lib/controllers/sharecontroller.php
index d1aeea82d0d..b15823ce610 100644
--- a/apps/files_sharing/lib/controllers/sharecontroller.php
+++ b/apps/files_sharing/lib/controllers/sharecontroller.php
@@ -195,7 +195,6 @@ class ShareController extends Controller {
// Show file list
if (Filesystem::is_dir($originalSharePath)) {
$shareTmpl['dir'] = $getPath;
- $files = array();
$maxUploadFilesize = Util::maxUploadFilesize($originalSharePath);
$freeSpace = Util::freeSpace($originalSharePath);
$uploadLimit = Util::uploadLimit();
@@ -205,7 +204,6 @@ class ShareController extends Controller {
$folder->assign('permissions', \OCP\Constants::PERMISSION_READ);
$folder->assign('isPublic', true);
$folder->assign('publicUploadEnabled', 'no');
- $folder->assign('files', $files);
$folder->assign('uploadMaxFilesize', $maxUploadFilesize);
$folder->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
$folder->assign('freeSpace', $freeSpace);