make channel_remove less memory hungry
This commit is contained in:
parent
5afe779ffc
commit
ac03b4ccd7
@ -2549,7 +2549,7 @@ function channel_remove($channel_id, $local = true, $unset_session = false) {
|
||||
}
|
||||
|
||||
|
||||
$r = q("select * from iconfig left join item on item.id = iconfig.iid
|
||||
$r = q("select iid from iconfig left join item on item.id = iconfig.iid
|
||||
where item.uid = %d",
|
||||
intval($channel_id)
|
||||
);
|
||||
|
Reference in New Issue
Block a user