Ignore:
Timestamp:
07/11/12 11:45:10 (12 years ago)
Author:
niltonneto
Message:

Ticket #0000 - Copiadas as alterações do Trunk. Versão final da 2.4.1.

Location:
branches/2.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4

  • branches/2.4/expressoAdmin1_2/inc/class.db_functions.inc.php

    r6660 r6754  
    6666        } 
    6767 
    68         //returns true if cotas control property is set.  
    69         function use_cota_control() {  
    70                 $query = "select * from phpgw_config where config_name='expressoAdmin_cotasOu' and config_value='true'";  
    71                 $this->db->query($query);  
    72                 if($this->db->next_record())  
    73                         return true;  
    74                 return false;  
    75         }  
    76  
     68        //returns true if cotas control property is set.  
     69        function use_cota_control() {  
     70                $query = "select * from phpgw_config where config_name='expressoAdmin_cotasOu' and config_value='true'";  
     71                $this->db->query($query);  
     72                if($this->db->next_record())  
     73                        return true;  
     74                return false;  
     75        }  
     76                          
    7777        /* 
    7878        *       Reativa os usuários desabilitados por tempo inativo modificando o seu ultimo acesso para o dia atual. 
     
    779779                 
    780780                //Deleta todas as acls do Gerente 
    781                 $this->db->delete('phpgw_expressoadmin_acls',array('manager_lid' => $params['manager_lid'],'context' => $params['old_url_context']));  
     781                $this->db->delete('phpgw_expressoadmin_acls',array('manager_lid' => $params['manager_lid'],'context' => $params['old_url_context'])); 
    782782 
    783783                //Insere novas regras 
Note: See TracChangeset for help on using the changeset viewer.