forked from extern/egroupware
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