aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Import.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-06-23 18:12:26 -0700
committerredmatrix <git@macgirvin.com>2016-06-23 18:12:26 -0700
commitb19bbf54736b83afaa26aa11ba95c7816c7f8599 (patch)
tree4b6262bb04bbfd05ad53abf5da6f679b6e4a43f4 /Zotlabs/Module/Import.php
parente5c66d94f22d0efcdec0796872e9be81bff1bb4e (diff)
downloadvolse-hubzilla-b19bbf54736b83afaa26aa11ba95c7816c7f8599.tar.gz
volse-hubzilla-b19bbf54736b83afaa26aa11ba95c7816c7f8599.tar.bz2
volse-hubzilla-b19bbf54736b83afaa26aa11ba95c7816c7f8599.zip
change AbConfig to use channel_id instead of channel_hash; which was a mistake in retrospect
Diffstat (limited to 'Zotlabs/Module/Import.php')
-rw-r--r--Zotlabs/Module/Import.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Import.php b/Zotlabs/Module/Import.php
index 4a559fe95..e34f5e49e 100644
--- a/Zotlabs/Module/Import.php
+++ b/Zotlabs/Module/Import.php
@@ -389,8 +389,7 @@ class Import extends \Zotlabs\Web\Controller {
if($abconfig) {
// @fixme does not handle sync of del_abconfig
foreach($abconfig as $abc) {
- if($abc['chan'] === $channel['channel_hash'])
- set_abconfig($abc['chan'],$abc['xchan'],$abc['cat'],$abc['k'],$abc['v']);
+ set_abconfig($channel['channel_id'],$abc['xchan'],$abc['cat'],$abc['k'],$abc['v']);
}
}