aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-08-12 15:09:02 -0700
committerzotlabs <mike@macgirvin.com>2018-08-12 15:09:02 -0700
commitac03b4ccd74e52d8f1c78ad6393e8d90171516ce (patch)
treecaefa0c9d523ebd2d26225d2694d83448c11e9b5 /include
parent5afe779ffc69bc5889a83a6fcbc4bcefc7c40a5c (diff)
downloadvolse-hubzilla-ac03b4ccd74e52d8f1c78ad6393e8d90171516ce.tar.gz
volse-hubzilla-ac03b4ccd74e52d8f1c78ad6393e8d90171516ce.tar.bz2
volse-hubzilla-ac03b4ccd74e52d8f1c78ad6393e8d90171516ce.zip
make channel_remove less memory hungry
Diffstat (limited to 'include')
-rw-r--r--include/channel.php2
1 files changed, 1 insertions, 1 deletions
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)
);