move account. first step.

export basic account data as json
import basic account data in db (dbs must be at same schema version)
This commit is contained in:
Fabrixxm
2012-10-17 11:13:01 -04:00
parent d6226a5337
commit 65d235017c
8 changed files with 465 additions and 32 deletions
+4 -2
View File
@@ -42,6 +42,7 @@ function register_post(&$a) {
$verified = 0;
break;
}
require_once('include/user.php');
@@ -234,7 +235,7 @@ function register_content(&$a) {
'$yes_selected' => ' checked="checked" ',
'$no_selected' => '',
'$str_yes' => t('Yes'),
'$str_no' => t('No')
'$str_no' => t('No'),
));
}
@@ -275,7 +276,8 @@ function register_content(&$a) {
'$email' => $email,
'$nickname' => $nickname,
'$license' => $license,
'$sitename' => $a->get_hostname()
'$sitename' => $a->get_hostname(),
));
return $o;