mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 09:37:29 -04:00
Reuse known free space in the files app
This commit is contained in:
parent
16d10844cd
commit
1e6a79e244
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ $permissions = $dirInfo->getPermissions();
|
|||
$storageInfo=OC_Helper::getStorageInfo($dir);
|
||||
$freeSpace=$storageInfo['free'];
|
||||
$uploadLimit=OCP\Util::uploadLimit();
|
||||
$maxUploadFilesize=OCP\Util::maxUploadFilesize($dir);
|
||||
$maxUploadFilesize=OCP\Util::maxUploadFilesize($dir, $freeSpace);
|
||||
$publicUploadEnabled = $config->getAppValue('core', 'shareapi_allow_public_upload', 'yes');
|
||||
// if the encryption app is disabled, than everything is fine (INIT_SUCCESSFUL status code)
|
||||
$encryptionInitStatus = 2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue