diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-01-27 16:51:32 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-01-27 16:51:32 +0100 |
commit | b590f019f66c6b540edcf90c35092bf389619c87 (patch) | |
tree | 160e00ae420d116d2ffd4db5cc4c8c244e73a339 /apps/files/index.php | |
parent | d182b4f59fd7b172764a4d802dbd3ee6a953ea39 (diff) | |
download | nextcloud-server-b590f019f66c6b540edcf90c35092bf389619c87.tar.gz nextcloud-server-b590f019f66c6b540edcf90c35092bf389619c87.zip |
Remove unused $freeSpace
Diffstat (limited to 'apps/files/index.php')
-rw-r--r-- | apps/files/index.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files/index.php b/apps/files/index.php index 8f6838aa0d9..2ce8fdb065f 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -63,7 +63,6 @@ $files = array(); $user = OC_User::getUser(); if (\OC\Files\Cache\Upgrade::needUpgrade($user)) { //dont load anything if we need to upgrade the cache $needUpgrade = true; - $freeSpace = 0; } else { if ($isIE8){ // after the redirect above, the URL will have a format @@ -77,7 +76,6 @@ if (\OC\Files\Cache\Upgrade::needUpgrade($user)) { //dont load anything if we ne else{ $files = \OCA\Files\Helper::getFiles($dir); } - $freeSpace = \OC\Files\Filesystem::free_space($dir); $needUpgrade = false; } |