diff options
author | Pellaeon Lin <nfsmwlin@gmail.com> | 2014-01-29 21:24:31 +0800 |
---|---|---|
committer | Pellaeon Lin <nfsmwlin@gmail.com> | 2014-01-29 21:24:31 +0800 |
commit | 929c930b0afd682bb98eb389d7ebad91bb34d643 (patch) | |
tree | 20adfc5d00ded67604ca12404f9a34c537d1e570 /apps/files/index.php | |
parent | 19675c2c9de3580c32ee24b22b8ded11dc110b1c (diff) | |
download | nextcloud-server-929c930b0afd682bb98eb389d7ebad91bb34d643.tar.gz nextcloud-server-929c930b0afd682bb98eb389d7ebad91bb34d643.zip |
Use $storageInfo['free']
Diffstat (limited to 'apps/files/index.php')
-rw-r--r-- | apps/files/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/index.php b/apps/files/index.php index c8b04bd4627..61b32bc6fe3 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -103,7 +103,7 @@ if ($needUpgrade) { } else { // information about storage capacities $storageInfo=OC_Helper::getStorageInfo($dir); - $freeSpace=OCP\Util::freeSpace($dir); + $freeSpace=$storageInfo['free']; $uploadLimit=OCP\Util::uploadLimit(); $maxUploadFilesize=OCP\Util::maxUploadFilesize($dir); $publicUploadEnabled = \OC_Appconfig::getValue('core', 'shareapi_allow_public_upload', 'yes'); |