aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-20 17:18:08 -0800
committerzotlabs <mike@macgirvin.com>2018-02-20 17:18:08 -0800
commit02575f46a6d288cd2c1168bbbe52be2c7863cb46 (patch)
tree3682f555485d18cf96b4eb32e36d439b22ae38a0 /include/channel.php
parent441cdeff3fb93a23fbaea7e19caca622fcc9c45d (diff)
downloadvolse-hubzilla-02575f46a6d288cd2c1168bbbe52be2c7863cb46.tar.gz
volse-hubzilla-02575f46a6d288cd2c1168bbbe52be2c7863cb46.tar.bz2
volse-hubzilla-02575f46a6d288cd2c1168bbbe52be2c7863cb46.zip
move the zot6 delivery to zot_fetch where it makes more sense. Exhaustively hand tested.
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/channel.php b/include/channel.php
index b9adc588b..625ce16c8 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -2553,10 +2553,10 @@ function channel_remove($channel_id, $local = true, $unset_session = false) {
q("DELETE FROM profile WHERE uid = %d", intval($channel_id));
q("DELETE FROM src WHERE src_channel_id = %d", intval($channel_id));
- $r = q("select resource_id FROM attach WHERE uid = %d", intval($channel_id));
+ $r = q("select hash FROM attach WHERE uid = %d", intval($channel_id));
if($r) {
foreach($r as $rv) {
- attach_delete($channel_id,$rv['resource_id']);
+ attach_delete($channel_id,$rv['hash']);
}
}