start on channel_remove(), add some generic channel queries to the API layers
This commit is contained in:
@@ -114,7 +114,7 @@ function new_contact($uid,$url,$channel,$interactive = false) {
|
||||
$hash = $a->observer['xchan_hash'];
|
||||
}
|
||||
else {
|
||||
$r = q("select * from channel where uid = %d limit 1",
|
||||
$r = q("select * from channel where channel_id = %d limit 1",
|
||||
intval($uid)
|
||||
);
|
||||
if(! $r) {
|
||||
|
||||
Reference in New Issue
Block a user