switch to _POST and _GET

This commit is contained in:
Miles Lott 2004-01-26 05:52:19 +00:00
parent fac23cc9d8
commit b66c1210c5

View File

@ -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();
}
?>