diff options
author | zotlabs <mike@macgirvin.com> | 2017-05-03 18:50:32 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-05-03 18:50:32 -0700 |
commit | 519aef7ff52013170b08eb89c0a95072fe8047e1 (patch) | |
tree | 169cf989615c5caab26b35fab492302e862fdf34 /Zotlabs | |
parent | d6a3f7765adbbf5f58c08964932d25d3c0364439 (diff) | |
download | volse-hubzilla-519aef7ff52013170b08eb89c0a95072fe8047e1.tar.gz volse-hubzilla-519aef7ff52013170b08eb89c0a95072fe8047e1.tar.bz2 volse-hubzilla-519aef7ff52013170b08eb89c0a95072fe8047e1.zip |
abook_not_here flag created to indicate singleton connections which are connected to this channel but not on this hub. abook_instance enumerates which hubs the connections is valid, but we ultimately need something more efficiently searchable to decide what operations are supported w/r/t this connection in the context of this hub. This flag is ignored during sync to clones although the code to set it correctly during channel creation, import, and sync has not yet been implemented.
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Import.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Import.php b/Zotlabs/Module/Import.php index 54bc7de81..ce3fd469a 100644 --- a/Zotlabs/Module/Import.php +++ b/Zotlabs/Module/Import.php @@ -318,6 +318,7 @@ class Import extends \Zotlabs\Web\Controller { unset($abook['abconfig']); unset($abook['abook_their_perms']); unset($abook['abook_my_perms']); + unset($abook['abook_not_here']); $abook['abook_account'] = $account_id; $abook['abook_channel'] = $channel['channel_id']; @@ -347,7 +348,7 @@ class Import extends \Zotlabs\Web\Controller { continue; } - create_table_from_array('abook',$abook); + abook_store_lowlevel($abook); $friends ++; if(intval($abook['abook_feed'])) |