mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
same as previous commit, but for the delete
This commit is contained in:
parent
dc9a06b7ce
commit
852c11cec9
@ -215,8 +215,8 @@
|
|||||||
if (! $GLOBALS['phpgw']->acl->check('session_only_preferences',1,'preferences'))
|
if (! $GLOBALS['phpgw']->acl->check('session_only_preferences',1,'preferences'))
|
||||||
{
|
{
|
||||||
$this->db->transaction_begin();
|
$this->db->transaction_begin();
|
||||||
$this->db->query("DELETE FROM phpgw_preferences WHERE preference_owner='" . $this->account_id
|
$this->db->query("DELETE FROM phpgw_preferences WHERE preference_owner=" . intval($this->account_id),
|
||||||
. "'",__LINE__,__FILE__);
|
__LINE__,__FILE__);
|
||||||
|
|
||||||
if (floor(phpversion()) < 4)
|
if (floor(phpversion()) < 4)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user