mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
switch to _POST and _GET
This commit is contained in:
parent
fac23cc9d8
commit
b66c1210c5
@ -12,12 +12,12 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
if($GLOBALS['HTTP_POST_VARS']['account_id'])
|
||||
if($_POST['account_id'])
|
||||
{
|
||||
$GLOBALS['phpgw']->accounts->delete($GLOBALS['HTTP_POST_VARS']['account_id']);
|
||||
$GLOBALS['phpgw']->accounts->delete($_POST['account_id']);
|
||||
$GLOBALS['phpgw']->db->lock(Array('phpgw_acl'));
|
||||
$GLOBALS['phpgw']->db->query("DELETE FROM phpgw_acl WHERE acl_location='" . $GLOBALS['HTTP_POST_VARS']['account_id']
|
||||
. "' OR acl_account=".$GLOBALS['HTTP_POST_VARS']['account_id'],__LINE__,__FILE__);
|
||||
$GLOBALS['phpgw']->db->query("DELETE FROM phpgw_acl WHERE acl_location='" . $_POST['account_id']
|
||||
. "' OR acl_account=".$_POST['account_id'],__LINE__,__FILE__);
|
||||
$GLOBALS['phpgw']->db->unlock();
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user