Files: rename 'space' to 'storage' in upload.php

This commit is contained in:
Robin Appelman 2013-02-07 23:59:14 +01:00
parent b67251b0ff
commit 5ef9d96d10
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ foreach ($files['size'] as $size) {
$totalSize += $size;
}
if ($totalSize > \OC\Files\Filesystem::free_space($dir)) {
OCP\JSON::error(array('data' => array('message' => $l->t('Not enough space available'),
OCP\JSON::error(array('data' => array('message' => $l->t('Not enough storage available'),
'uploadMaxFilesize' => $maxUploadFilesize,
'maxHumanFilesize' => $maxHumanFilesize)));
exit();