File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ public function gatherAsString()
110110     * @return array 
111111     * @see searchCountCallback 
112112     */ 
113-     protected  function  initEmptySearchList ()
113+     public  function  initEmptySearchList ()
114114    {
115-         return  $ list  =  array_fill_keys ([
115+         return  array_fill_keys ([
116116            'file_count ' ,
117117            'file_size ' ,
118118            'file_max ' ,
@@ -279,7 +279,7 @@ protected function addPluginUsageData(&$data)
279279    /** 
280280     * Callback to search and count the content of directories in DokuWiki 
281281     * 
282-      * @param array &$data  Reference to the result data structure 
282+      * @param array &$data  Reference to the result data structure, init with initEmptySearchList()  
283283     * @param string $base  Base usually $conf['datadir'] 
284284     * @param string $file  current file or directory relative to $base 
285285     * @param string $type  Type either 'd' for directory or 'f' for file 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments