]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixed broken function call
authorBjoern Schiessle <schiessle@owncloud.com>
Mon, 18 Jun 2012 15:30:21 +0000 (17:30 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Mon, 18 Jun 2012 15:30:21 +0000 (17:30 +0200)
lib/fileproxy/quota.php

index dab41c5e9066969f482f34e129505fb9594e0a1b..0b2b584870e5c87ca8eb4ba4eb8b4662784a42fb 100644 (file)
@@ -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();