From ab9b82e77878e1c904d02ab931f8f6f8c0651a21 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 6 Sep 2017 16:44:10 -0700 Subject: ignore diaspora_meta column on item import. --- include/import.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/import.php') diff --git a/include/import.php b/include/import.php index 2199400af..4d38c8061 100644 --- a/include/import.php +++ b/include/import.php @@ -602,6 +602,11 @@ function import_items($channel, $items, $sync = false, $relocate = null) { if(! $item) continue; + // deprecated + + if(array_key_exists('diaspora_meta',$item)) + unset($item['diaspora_meta']); + if($relocate && $item['mid'] === $item['parent_mid']) { item_url_replace($channel,$item,$relocate['url'],z_root(),$relocate['channel_address']); } -- cgit v1.2.3