fixed broken function call
This commit is contained in:
parent
814cab97cf
commit
92bb59c95d
|
@ -54,8 +54,8 @@ class OC_FileProxy_Quota extends OC_FileProxy{
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
private function getFreeSpace(){
|
private function getFreeSpace(){
|
||||||
$rootInfo=OC_FileCache_Cached::get('');
|
$rootInfo=OC_FileCache::get('');
|
||||||
$sharedInfo=OC_FileCache_Cached::get('/Shared');
|
$sharedInfo=OC_FileCache::get('/Shared');
|
||||||
$usedSpace=isset($rootInfo['size'])?$rootInfo['size']:0;
|
$usedSpace=isset($rootInfo['size'])?$rootInfo['size']:0;
|
||||||
$usedSpace=isset($sharedInfo['size'])?$rootInfo['size']-$sharedInfo['size']:$rootInfo['size'];
|
$usedSpace=isset($sharedInfo['size'])?$rootInfo['size']-$sharedInfo['size']:$rootInfo['size'];
|
||||||
$totalSpace=$this->getQuota();
|
$totalSpace=$this->getQuota();
|
||||||
|
|
Loading…
Reference in New Issue