Ignore:
Timestamp:
05/15/12 10:50:20 (12 years ago)
Author:
gustavo
Message:

Ticket #2723 - Inconsistência no Expresso - admin / Lista de gerentes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.db_functions.inc.php

    r5593 r6186  
    722722        } 
    723723         
     724        function delete_manager($uid, $uidNumber){ 
     725                if($this->manager_lid_exist($uid)){ 
     726                        $this->db->query("DELETE FROM phpgw_expressoadmin_acls WHERE manager_lid = '".$uid."'"); 
     727                        $this->db->query("DELETE FROM phpgw_expressoadmin_apps WHERE manager_lid = '".$uid."'"); 
     728                        $this->db->query("DELETE FROM phpgw_acl WHERE acl_appname = 'expressoadmin' AND acl_account = '" . $uidNumber . "'"); 
     729                } 
     730                return; 
     731        } 
     732         
    724733        function create_manager($params, $manager_acl) 
    725734        { 
Note: See TracChangeset for help on using the changeset viewer.