|
|
|
@ -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(); |
|
|
|
|