File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -506,6 +506,9 @@ public static function getStorageInfo($path, $rootInfo = null) {
506506		if  ($ storageinstanceOfStorage ('\OCA\Files_Sharing\SharedStorage ' )) {
507507			$ includeExtStoragefalse ;
508508			$ sourceStorage$ storagegetSourceStorage ();
509+ 			$ internalPath$ storagegetUnjailedPath ($ rootInfogetInternalPath ());
510+ 		} else  {
511+ 			$ internalPath$ rootInfogetInternalPath ();
509512		}
510513		if  ($ includeExtStorage
511514			if  ($ storageinstanceOfStorage ('\OC\Files\Storage\Home ' )
@@ -528,7 +531,7 @@ public static function getStorageInfo($path, $rootInfo = null) {
528531			/** @var \OC\Files\Storage\Wrapper\Quota $storage */ 
529532			$ quota$ sourceStoragegetQuota ();
530533		}
531- 		$ free$ sourceStoragefree_space ($ rootInfo -> getInternalPath () );
534+ 		$ free$ sourceStoragefree_space ($ internalPath 
532535		if  ($ free0 ) {
533536			$ total$ free$ used
534537		} else  {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments