aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-16 21:40:43 -0700
committerzotlabs <mike@macgirvin.com>2018-04-16 21:40:43 -0700
commit43e55eb9a6cb66ad040064fca8b8296bcd298a03 (patch)
tree8b67b9cf7b7b13fde7099b29f3ee6feade8974f4 /include/channel.php
parent120e578a6778471cc03a04c47b9af34628fc6c8e (diff)
downloadvolse-hubzilla-43e55eb9a6cb66ad040064fca8b8296bcd298a03.tar.gz
volse-hubzilla-43e55eb9a6cb66ad040064fca8b8296bcd298a03.tar.bz2
volse-hubzilla-43e55eb9a6cb66ad040064fca8b8296bcd298a03.zip
Active channels information is a bit imprecise. Provide a higher accuracy method. This will require a transition period
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channel.php b/include/channel.php
index 5f87e587c..4bf490bf0 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -2563,7 +2563,7 @@ function channel_remove($channel_id, $local = true, $unset_session = false) {
q("DELETE FROM photo WHERE uid = %d", intval($channel_id));
q("DELETE FROM attach WHERE uid = %d", intval($channel_id));
q("DELETE FROM profile WHERE uid = %d", intval($channel_id));
- q("DELETE FROM src WHERE src_channel_id = %d", intval($channel_id));
+ q("DELETE FROM source WHERE src_channel_id = %d", intval($channel_id));
$r = q("select hash FROM attach WHERE uid = %d", intval($channel_id));
if($r) {