Ignore:
Timestamp:
04/01/11 15:43:54 (13 years ago)
Author:
niltonneto
Message:

Ticket #1692 - Removido verificação e método desnecessários.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/reports/inc/class.functions.inc.php

    r3666 r3949  
    934934                        return $result;  
    935935                } 
    936                  
    937                 function get_next_id() 
    938                 { 
    939                         // Busco o ID dos accounts 
    940                         $query_accounts = "SELECT id FROM phpgw_nextid WHERE appname = 'accounts'"; 
    941                         $GLOBALS['phpgw']->db->query($query_accounts); 
    942                         while($GLOBALS['phpgw']->db->next_record()) 
    943                         { 
    944                                 $result_accounts[] = $GLOBALS['phpgw']->db->row(); 
    945                         }                        
    946                         $accounts_id = $result_accounts[0]['id']; 
    947                          
    948                         // Busco o ID dos groups 
    949                         $query_groups = "SELECT id FROM phpgw_nextid WHERE appname = 'groups'"; 
    950                         $GLOBALS['phpgw']->db->query($query_groups); 
    951                         while($GLOBALS['phpgw']->db->next_record()) 
    952                         { 
    953                                 $result_groups[] = $GLOBALS['phpgw']->db->row(); 
    954                         }                        
    955                         $groups_id = $result_groups[0]['id']; 
    956                          
    957                         //Retorna o maior dos ID's 
    958                         if ($accounts_id >= $groups_id) 
    959                                 return $accounts_id; 
    960                         else 
    961                                 return $groups_id; 
    962                 } 
    963                  
     936 
    964937                function make_list_app($account_lid, $user_applications='', $disabled='') 
    965938                { 
     
    10541027                } 
    10551028                 
    1056                 function getReturnExecuteForm(){ 
    1057                         $response = $_SESSION['response']; 
    1058                         $_SESSION['response'] = null; 
    1059                         return $response; 
    1060                 } 
    1061  
    10621029                function lang($key) 
    10631030                { 
Note: See TracChangeset for help on using the changeset viewer.