mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
modified to use $GLOBALS['HTTP_POST_VARS']
This commit is contained in:
parent
839e094117
commit
b1ace37fb0
@ -16,6 +16,8 @@
|
||||
$table_locks = Array('phpgw_preferences');
|
||||
|
||||
$GLOBALS['phpgw']->db->lock($table_locks);
|
||||
$GLOBALS['phpgw']->db->query('DELETE FROM phpgw_preferences WHERE preference_owner='.$account_id,__LINE__,__FILE__);
|
||||
$GLOBALS['phpgw']->db->query('DELETE FROM phpgw_preferences WHERE preference_owner='.$GLOBALS['HTTP_POST_VARS']['account_id'],__LINE__,__FILE__);
|
||||
$GLOBALS['phpgw']->db->unlock();
|
||||
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user