aboutsummaryrefslogtreecommitdiffstats
path: root/mod/import.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-21 17:30:23 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-21 17:30:23 -0700
commit68534fd5dc6fdc879b075c32849d6cbc8a5fc905 (patch)
tree896dec8185f0319186cbeec66051800aa01191bd /mod/import.php
parent9f9dee28ca6cb86a7c58fa8fd28c086498e83e21 (diff)
downloadvolse-hubzilla-68534fd5dc6fdc879b075c32849d6cbc8a5fc905.tar.gz
volse-hubzilla-68534fd5dc6fdc879b075c32849d6cbc8a5fc905.tar.bz2
volse-hubzilla-68534fd5dc6fdc879b075c32849d6cbc8a5fc905.zip
some diaspora import issues uncovered during dry-run tests
Diffstat (limited to 'mod/import.php')
-rw-r--r--mod/import.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/mod/import.php b/mod/import.php
index 02f4133d5..85491bc5e 100644
--- a/mod/import.php
+++ b/mod/import.php
@@ -93,17 +93,16 @@ function import_post(&$a) {
$data = json_decode($data,true);
- if(array_key_exists('user',$data) && array_key_exists('aspects',$data)) {
+// logger('import: data: ' . print_r($data,true));
+// print_r($data);
+
+
+ if(array_key_exists('user',$data) && array_key_exists('version',$data)) {
require_once('include/Import/import_diaspora.php');
import_diaspora($data);
return;
}
-
-// logger('import: data: ' . print_r($data,true));
-
-// print_r($data);
-
// import channel
$channel = $data['channel'];
@@ -515,6 +514,7 @@ function import_content(&$a) {
'$common' => t('For either option, please choose whether to make this hub your new primary address, or whether your old location should continue this role. You will be able to post from either location, but only one can be marked as the primary location for files, photos, and media.'),
'$label_import_primary' => t('Make this hub my primary location'),
'$label_import_posts' => t('Import existing posts if possible'),
+ '$pleasewait' => t('This process may take several minutes to complete. Please submit the form only once and leave this page open until finished.'),
'$email' => '',
'$pass' => '',
'$submit' => t('Submit')