Remove unused $freeSpace
This commit is contained in:
parent
d182b4f59f
commit
b590f019f6
|
@ -63,7 +63,6 @@ $files = array();
|
||||||
$user = OC_User::getUser();
|
$user = OC_User::getUser();
|
||||||
if (\OC\Files\Cache\Upgrade::needUpgrade($user)) { //dont load anything if we need to upgrade the cache
|
if (\OC\Files\Cache\Upgrade::needUpgrade($user)) { //dont load anything if we need to upgrade the cache
|
||||||
$needUpgrade = true;
|
$needUpgrade = true;
|
||||||
$freeSpace = 0;
|
|
||||||
} else {
|
} else {
|
||||||
if ($isIE8){
|
if ($isIE8){
|
||||||
// after the redirect above, the URL will have a format
|
// 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{
|
else{
|
||||||
$files = \OCA\Files\Helper::getFiles($dir);
|
$files = \OCA\Files\Helper::getFiles($dir);
|
||||||
}
|
}
|
||||||
$freeSpace = \OC\Files\Filesystem::free_space($dir);
|
|
||||||
$needUpgrade = false;
|
$needUpgrade = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue