Skip to content
Snippets Groups Projects
Commit 92bb59c9 authored by Björn Schießle's avatar Björn Schießle
Browse files

fixed broken function call

parent 814cab97
No related branches found
No related tags found
No related merge requests found
......@@ -54,8 +54,8 @@ class OC_FileProxy_Quota extends OC_FileProxy{
* @return int
*/
private function getFreeSpace(){
$rootInfo=OC_FileCache_Cached::get('');
$sharedInfo=OC_FileCache_Cached::get('/Shared');
$rootInfo=OC_FileCache::get('');
$sharedInfo=OC_FileCache::get('/Shared');
$usedSpace=isset($rootInfo['size'])?$rootInfo['size']:0;
$usedSpace=isset($sharedInfo['size'])?$rootInfo['size']-$sharedInfo['size']:$rootInfo['size'];
$totalSpace=$this->getQuota();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment