aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Import.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 /Zotlabs/Module/Import.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 'Zotlabs/Module/Import.php')
-rw-r--r--Zotlabs/Module/Import.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Module/Import.php b/Zotlabs/Module/Import.php
index 76d4fa733..bfd248a0f 100644
--- a/Zotlabs/Module/Import.php
+++ b/Zotlabs/Module/Import.php
@@ -253,9 +253,8 @@ class Import extends \Zotlabs\Web\Controller {
// replace any existing xchan we may have on this site if we're seizing control
- $r = q("delete from xchan where ( xchan_hash = '%s' or xchan_hash = '%s' ) ",
- dbesc($channel['channel_hash']),
- dbesc($channel['channel_portable_id'])
+ $r = q("delete from xchan where xchan_hash = '%s'",
+ dbesc($channel['channel_hash'])
);
$r = xchan_store_lowlevel(