* @brief Receives account migration
*
* @param array $importer Array of the importer user
- * @param string $sender The sender of the message
* @param object $data The message object
*
* @return bool Success
*/
- private static function receiveAccountMigration($importer, $sender, $data) {
+ private static function receiveAccountMigration($importer, $data) {
$old_handle = notags(unxmlify($data->author));
$new_handle = notags(unxmlify($data->profile->author));
$signature = notags(unxmlify($data->signature));
$n, dbesc($f[0]),
intval($importer["uid"]));
- if ($x === false) {
- return false;
- }
+ if ($x === false) {
+ return false;
+ }
}
}
logger("Send account migration ".print_r($message, true), LOGGER_DEBUG);
- return self::build_and_transmit($owner, $contact, "account_migration", $message, true);
+ return self::build_and_transmit($owner, $contact, "account_migration", $message);
}
/**