Merge pull request #8014 from owncloud/uploadsize-reuse

Reuse known free space in the files app
remotes/origin/ldap_group_count
icewind1991 11 years ago
commit 6d378515f8
  1. 2
      apps/files/index.php

@ -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…
Cancel
Save