mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 09:58:04 +02:00
switch to _POST and _GET
This commit is contained in:
parent
fac23cc9d8
commit
b66c1210c5
@ -12,12 +12,12 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $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->lock(Array('phpgw_acl'));
|
||||||
$GLOBALS['phpgw']->db->query("DELETE FROM phpgw_acl WHERE acl_location='" . $GLOBALS['HTTP_POST_VARS']['account_id']
|
$GLOBALS['phpgw']->db->query("DELETE FROM phpgw_acl WHERE acl_location='" . $_POST['account_id']
|
||||||
. "' OR acl_account=".$GLOBALS['HTTP_POST_VARS']['account_id'],__LINE__,__FILE__);
|
. "' OR acl_account=".$_POST['account_id'],__LINE__,__FILE__);
|
||||||
$GLOBALS['phpgw']->db->unlock();
|
$GLOBALS['phpgw']->db->unlock();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user