Files: rename 'space' to 'storage' in upload.php
This commit is contained in:
parent
b67251b0ff
commit
5ef9d96d10
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue