From 6ab12597f508294d37fddeca789033c1729600d8 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 16 Sep 2018 18:59:12 -0700 Subject: do not sync the channel_moved field --- include/import.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/import.php') diff --git a/include/import.php b/include/import.php index 91a26b23b..0fc24a26f 100644 --- a/include/import.php +++ b/include/import.php @@ -93,7 +93,8 @@ function import_channel($channel, $account_id, $seize, $newname = '') { 'channel_w_comment', 'channel_w_mail', 'channel_w_like', 'channel_w_tagwall', 'channel_w_chat', 'channel_w_storage', 'channel_w_pages', 'channel_a_republish', 'channel_a_delegate', 'perm_limits', 'channel_password', 'channel_salt', - 'channel_moved' + 'channel_moved', 'channel_primary', 'channel_removed', 'channel_deleted', + 'channel_system' ]; $clean = array(); -- cgit v1.2.3 From ed97800c805fbc9bd5ed7c3f18bcb51c82db4620 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sat, 6 Oct 2018 21:47:40 +0000 Subject: use hubloc_store_lowlevel to ensure all hubloc columns are initialised (cherry picked from commit 52be5c1660abb1f3f8c6a8f0ba09799615214c30) --- include/import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/import.php') diff --git a/include/import.php b/include/import.php index 0fc24a26f..714161c57 100644 --- a/include/import.php +++ b/include/import.php @@ -234,7 +234,7 @@ function import_hublocs($channel, $hublocs, $seize, $moving = false) { if(($x = zot_gethub($arr,false)) === false) { unset($hubloc['hubloc_id']); - create_table_from_array('hubloc', $hubloc); + hubloc_store_lowlevel($hubloc); } else { q("UPDATE hubloc set hubloc_primary = %d, hubloc_deleted = %d where hubloc_id = %d", -- cgit v1.2.3