make channel_remove less memory hungry

This commit is contained in:
zotlabs 2018-08-12 15:09:02 -07:00
parent 5afe779ffc
commit ac03b4ccd7

View File

@ -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)
);