From ac03b4ccd74e52d8f1c78ad6393e8d90171516ce Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 12 Aug 2018 15:09:02 -0700 Subject: make channel_remove less memory hungry --- include/channel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/channel.php b/include/channel.php index d7c5a2511..2d0231bba 100644 --- a/include/channel.php +++ b/include/channel.php @@ -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) ); -- cgit v1.2.3