aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-26 19:02:13 +0000
committerMario <mario@mariovavti.com>2021-05-26 19:02:13 +0000
commit1c8000d02679e2465b0e86be673f68375703db4a (patch)
treeed4db6faf83da410744fa963fd03ef3b81681de9 /include/channel.php
parentff34a787c34c757b8959bbe51a485890e2345902 (diff)
downloadvolse-hubzilla-1c8000d02679e2465b0e86be673f68375703db4a.tar.gz
volse-hubzilla-1c8000d02679e2465b0e86be673f68375703db4a.tar.bz2
volse-hubzilla-1c8000d02679e2465b0e86be673f68375703db4a.zip
remove more legacy zot quirks
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/channel.php b/include/channel.php
index 085aa5ea5..f051ded58 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -2794,15 +2794,12 @@ function channel_remove($channel_id, $local = true, $unset_session = false) {
logger('deleting hublocs',LOGGER_DEBUG);
- $r = q("UPDATE hubloc SET hubloc_deleted = 1 WHERE hubloc_hash = '%s' OR hubloc_hash = '%s'",
- dbesc($channel['channel_hash']),
- dbesc($channel['channel_portable_id'])
-
+ $r = q("UPDATE hubloc SET hubloc_deleted = 1 WHERE hubloc_hash = '%s'",
+ dbesc($channel['channel_hash'])
);
- $r = q("UPDATE xchan SET xchan_deleted = 1 WHERE xchan_hash = '%s' OR xchan_hash = '%s'",
- dbesc($channel['channel_hash']),
- dbesc($channel['channel_portable_id'])
+ $r = q("UPDATE xchan SET xchan_deleted = 1 WHERE xchan_hash = '%s'",
+ dbesc($channel['channel_hash'])
);
Master::Summon(array('Notifier','purge_all',$channel_id));