Ignore:
Timestamp:
06/27/12 13:00:55 (12 years ago)
Author:
eduardow
Message:

Ticket #2863 - Backport da funcionalidade de Controle de Cotas de usuário e disco(Cotas OU).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/expressoAdmin1_2/inc/class.db_functions.inc.php

    r6585 r6660  
    6565                return $acls; 
    6666        } 
     67 
     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 
    6777        /* 
    6878        *       Reativa os usuários desabilitados por tempo inativo modificando o seu ultimo acesso para o dia atual. 
Note: See TracChangeset for help on using the changeset viewer.