Ignore:
Timestamp:
09/06/11 11:55:20 (13 years ago)
Author:
alexandrecorreia
Message:

Ticket #2263 - Corrigido total usado dentro do filemanager (não estava contabilizando corretamente)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/phpgwapi/inc/class.vfs_sql.inc.php

    r3743 r5059  
    25122512                        return $size; 
    25132513                } 
     2514                 
     2515                function get_size_all($owner_id) 
     2516                { 
     2517                        $query = $GLOBALS['phpgw']->db->query ("SELECT Sum(size) FROM phpgw_vfs WHERE owner_id = '".$owner_id."'" . 
     2518                                                                                                        $this->extra_sql(array ('query_text' => VFS_SQL_SELECT))); 
     2519                        $GLOBALS['phpgw']->db->next_record (); 
     2520                         
     2521                        $size = $GLOBALS['phpgw']->db->Record[0];                        
     2522                         
     2523                        return $size; 
     2524                }                
    25142525 
    25152526                /*return the total number of files in path*/ 
Note: See TracChangeset for help on using the changeset viewer.