X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fdelivery.php;h=cddc9cb004006eb15d17c3bc0241734de6e1315a;hb=e40c3a9d7c980c4287c273bc12d934ceb8b55fc0;hp=507e17f4a5b3d81154dfaa5419f2c84f93c1ac7d;hpb=3c24bed412235cf8c7a3f16b46fed18004abf87b;p=friendica.git diff --git a/include/delivery.php b/include/delivery.php index 507e17f4a5..cddc9cb004 100644 --- a/include/delivery.php +++ b/include/delivery.php @@ -300,7 +300,7 @@ function delivery_run(&$argv, &$argc){ // perform local delivery if we are on the same site - if (link_compare($basepath,App::get_baseurl())) { + if (link_compare($basepath,System::baseUrl())) { $nickname = basename($contact['url']); if ($contact['issued-id']) { @@ -508,6 +508,9 @@ function delivery_run(&$argv, &$argc){ logger('diaspora retract: '.$loc); Diaspora::send_retraction($target_item,$owner,$contact,$public_message); break; + } elseif ($relocate) { + Diaspora::sendAccountMigration($owner, $contact, $uid); + break; } elseif ($followup) { // send comments and likes to owner to relay logger('diaspora followup: '.$loc);