diff options
author | nobody <nobody@zotlabs.com> | 2021-02-17 16:36:27 -0800 |
---|---|---|
committer | nobody <nobody@zotlabs.com> | 2021-02-17 16:36:27 -0800 |
commit | 8a65fc8a43116fcdce12bcbccd452b82a70d8da1 (patch) | |
tree | af411f37870fa892197a4b8dd1b9248a25c3232f /include/attach.php | |
parent | 0b95e061a3f15a21913e8d3c505dfe5d3fccb287 (diff) | |
download | volse-hubzilla-8a65fc8a43116fcdce12bcbccd452b82a70d8da1.tar.gz volse-hubzilla-8a65fc8a43116fcdce12bcbccd452b82a70d8da1.tar.bz2 volse-hubzilla-8a65fc8a43116fcdce12bcbccd452b82a70d8da1.zip |
more work on hz->zap migration stuff
Diffstat (limited to 'include/attach.php')
-rw-r--r-- | include/attach.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/attach.php b/include/attach.php index 9ba6be109..db7046ef0 100644 --- a/include/attach.php +++ b/include/attach.php @@ -2339,7 +2339,7 @@ function filepath_macro($s) { } -function attach_export_data($channel, $resource_id, $deleted = false) { +function attach_export_data($channel, $resource_id, $deleted = false, $zap_compat = false) { $ret = array(); @@ -2429,7 +2429,7 @@ function attach_export_data($channel, $resource_id, $deleted = false) { xchan_query($items); $items = fetch_post_tags($items,true); foreach($items as $rr) - $ret['item'][] = encode_item($rr,true); + $ret['item'][] = encode_item($rr,true,$zap_compat); } } } |