aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVicDeo <dubiniuk@owncloud.com>2014-01-27 10:27:51 -0800
committerVicDeo <dubiniuk@owncloud.com>2014-01-27 10:27:51 -0800
commit0a77d411780aa0b5c4c45373ea4aca05dc5dd5ec (patch)
tree222385c48c4f5e553a0b12cd295cc6385f82119d
parentab9ddda8f2a969d5c4d8c831de34d60d4ade5648 (diff)
parentb590f019f66c6b540edcf90c35092bf389619c87 (diff)
downloadnextcloud-server-0a77d411780aa0b5c4c45373ea4aca05dc5dd5ec.tar.gz
nextcloud-server-0a77d411780aa0b5c4c45373ea4aca05dc5dd5ec.zip
Merge pull request #6965 from owncloud/unused-free-space
Remove unused $freeSpace
-rw-r--r--apps/files/index.php2
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;
}