mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 01:04:33 +02:00
moveme: send and receive DFRN "relocate" message (WIP)
This commit is contained in:
parent
c51e057fe6
commit
dbc6cbe024
4 changed files with 110 additions and 11 deletions
|
@ -125,7 +125,7 @@ function import_account(&$a, $file) {
|
|||
if ($contact['uid'] == $olduid && $contact['self'] == '0') {
|
||||
switch ($contact['network']){
|
||||
case NETWORK_DFRN:
|
||||
// send moved message
|
||||
// send relocate message (below)
|
||||
break;
|
||||
case NETWORK_ZOT:
|
||||
// TODO handle zot network
|
||||
|
@ -226,10 +226,12 @@ function import_account(&$a, $file) {
|
|||
logger("uimport:insert pconfig ".$pconfig['id']. " : ERROR : ".last_error(), LOGGER_NORMAL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// send relocate messages
|
||||
proc_run('php', 'include/notifier.php', 'relocate' , $newuid);
|
||||
|
||||
info(t("Done. You can now login with your username and password"));
|
||||
goaway( $a->get_baseurl() ."/login");
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue