mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 19:33:54 +01:00
This should now clear out the ACL entries when deleting a user.
This commit is contained in:
parent
5cefe64960
commit
e007771652
@ -14,5 +14,8 @@
|
|||||||
if($GLOBALS['account_id'])
|
if($GLOBALS['account_id'])
|
||||||
{
|
{
|
||||||
$GLOBALS['phpgw']->accounts->delete($GLOBALS['account_id']);
|
$GLOBALS['phpgw']->accounts->delete($GLOBALS['account_id']);
|
||||||
|
$GLOBALS['phpgw']->db->lock(Array('phpgw_acl'));
|
||||||
|
$GLOBALS['phpgw']->db->query("DELETE FROM phpgw_acl WHERE acl_location='".$GLOBALS['account_id']."' OR acl_account=".$GLOBALS['account_id'],__LINE__,__FILE__);
|
||||||
|
$GLOBALS['phpgw']->db->unlock();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user