Skip to content
Snippets Groups Projects
Commit 5bb0889b authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Remove uneeded assignment

'files' is neither used in the controller or the template
parent 09a06e4f
Branches
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment