diff options
author | zotlabs <mike@macgirvin.com> | 2018-08-12 15:09:02 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-08-12 15:09:02 -0700 |
commit | ac03b4ccd74e52d8f1c78ad6393e8d90171516ce (patch) | |
tree | caefa0c9d523ebd2d26225d2694d83448c11e9b5 /include/channel.php | |
parent | 5afe779ffc69bc5889a83a6fcbc4bcefc7c40a5c (diff) | |
download | volse-hubzilla-ac03b4ccd74e52d8f1c78ad6393e8d90171516ce.tar.gz volse-hubzilla-ac03b4ccd74e52d8f1c78ad6393e8d90171516ce.tar.bz2 volse-hubzilla-ac03b4ccd74e52d8f1c78ad6393e8d90171516ce.zip |
make channel_remove less memory hungry
Diffstat (limited to 'include/channel.php')
-rw-r--r-- | include/channel.php | 2 |
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) ); |