relative storage info without decimals

This commit is contained in:
Thomas Mueller 2013-01-17 16:52:57 +01:00
parent b7d3bf5f81
commit 130c9cad03
1 changed files with 1 additions and 1 deletions

View File

@ -111,5 +111,5 @@ $tmpl->assign('files', $files);
$tmpl->assign('uploadMaxFilesize', $maxUploadFilesize);
$tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
$tmpl->assign('allowZipDownload', intval(OCP\Config::getSystemValue('allowZipDownload', true)));
$tmpl->assign('usedSpacePercent', $storageInfo['relative']);
$tmpl->assign('usedSpacePercent', (int)$storageInfo['relative']);
$tmpl->printPage();