Fix for deleting users.

This commit is contained in:
skeeter 2001-10-16 02:05:25 +00:00
parent 16ded6c03f
commit e748bf3da6

View File

@ -168,8 +168,8 @@
{
if($GLOBALS['phpgw_info']['server']['calendar_type'] == 'sql')
{
$this->so->cal->query('UPDATE phpgw_cal SET owner='.$new_owner.' WHERE owner='.$account_id,__LINE__,__FILE__);
$this->so->cal->query('UPDATE phpgw_cal_user SET cal_login='.$new_owner.' WHERE cal_login='.$account_id);
$this->cal->stream->query('UPDATE phpgw_cal SET owner='.$new_owner.' WHERE owner='.$account_id,__LINE__,__FILE__);
$this->cal->stream->query('UPDATE phpgw_cal_user SET cal_login='.$new_owner.' WHERE cal_login='.$account_id);
}
}