Update connections.php
This commit is contained in:
parent
71931b423c
commit
9f89f3190a
@ -296,7 +296,7 @@ function remove_all_xchan_resources($xchan, $channel_id = 0) {
|
|||||||
$r = q("delete from event where event_xchan = '%s'",
|
$r = q("delete from event where event_xchan = '%s'",
|
||||||
dbesc($xchan)
|
dbesc($xchan)
|
||||||
);
|
);
|
||||||
$r = q("delete from group_member where xchan = '%s'",
|
$r = q("delete from pgrp_member where xchan = '%s'",
|
||||||
dbesc($xchan)
|
dbesc($xchan)
|
||||||
);
|
);
|
||||||
$r = q("delete from mail where ( from_xchan = '%s' or to_xchan = '%s' )",
|
$r = q("delete from mail where ( from_xchan = '%s' or to_xchan = '%s' )",
|
||||||
@ -402,7 +402,7 @@ function contact_remove($channel_id, $abook_id) {
|
|||||||
intval($channel_id)
|
intval($channel_id)
|
||||||
);
|
);
|
||||||
|
|
||||||
$r = q("delete from group_member where xchan = '%s' and uid = %d",
|
$r = q("delete from pgrp_member where xchan = '%s' and uid = %d",
|
||||||
dbesc($abook['abook_xchan']),
|
dbesc($abook['abook_xchan']),
|
||||||
intval($channel_id)
|
intval($channel_id)
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user