aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-15 21:31:32 -0700
committerfriendica <info@friendica.com>2014-09-15 21:31:32 -0700
commit5f9c326ad7b7ba4a4c84ff2582898414f76267ca (patch)
tree2baf4934e8dd8e084c30c3c2631ae1a8e3abdeba /mod
parent171719a774f9dc1ea81d11f15b121222bd30a898 (diff)
downloadvolse-hubzilla-5f9c326ad7b7ba4a4c84ff2582898414f76267ca.tar.gz
volse-hubzilla-5f9c326ad7b7ba4a4c84ff2582898414f76267ca.tar.bz2
volse-hubzilla-5f9c326ad7b7ba4a4c84ff2582898414f76267ca.zip
channel export with items
Diffstat (limited to 'mod')
-rw-r--r--mod/import.php6
-rw-r--r--mod/uexport.php2
2 files changed, 7 insertions, 1 deletions
diff --git a/mod/import.php b/mod/import.php
index 22eb688ab..0663a8b57 100644
--- a/mod/import.php
+++ b/mod/import.php
@@ -376,6 +376,12 @@ function import_post(&$a) {
}
}
+//FIXME just a note here for when folks want to import content - be very careful to unset ITEM_ORIGIN on all imported content. Or you could end up with a nasty routing loop when somebody tries to reply to one of those posts.
+
+
+
+
+
// FIXME - ensure we have a self entry if somebody is trying to pull a fast one
if($seize) {
diff --git a/mod/uexport.php b/mod/uexport.php
index f3a2ce67c..6304115c8 100644
--- a/mod/uexport.php
+++ b/mod/uexport.php
@@ -18,7 +18,7 @@ function uexport_init(&$a) {
}
if(argc() > 1 && argv(1) === 'complete') {
- echo json_encode('not yet implemented');
+ echo json_encode(identity_basic_export(local_user(),true));
killme();
}