diff options
author | zotlabs <mike@macgirvin.com> | 2017-09-06 16:44:10 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-09-06 16:44:10 -0700 |
commit | ab9b82e77878e1c904d02ab931f8f6f8c0651a21 (patch) | |
tree | 508e4c5e14094fdff8550899f0ea822e92a14220 /include/import.php | |
parent | 2cce599fd7c45c1f2c3480eeb4e60d99d10d2ea2 (diff) | |
download | volse-hubzilla-ab9b82e77878e1c904d02ab931f8f6f8c0651a21.tar.gz volse-hubzilla-ab9b82e77878e1c904d02ab931f8f6f8c0651a21.tar.bz2 volse-hubzilla-ab9b82e77878e1c904d02ab931f8f6f8c0651a21.zip |
ignore diaspora_meta column on item import.
Diffstat (limited to 'include/import.php')
-rw-r--r-- | include/import.php | 5 |
1 files changed, 5 insertions, 0 deletions
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']); } |