Parameter should fit ...

This commit is contained in:
Michael 2017-10-13 15:48:59 +00:00
parent 0a45f40c9d
commit 9f2196aa1a
1 changed files with 1 additions and 2 deletions

View File

@ -1326,12 +1326,11 @@ class Diaspora {
* @brief Receives account migration * @brief Receives account migration
* *
* @param array $importer Array of the importer user * @param array $importer Array of the importer user
* @param string $sender The sender of the message
* @param object $data The message object * @param object $data The message object
* *
* @return bool Success * @return bool Success
*/ */
private static function receiveAccountMigration($importer, $sender, $data) { private static function receiveAccountMigration($importer, $data) {
$old_handle = notags(unxmlify($data->author)); $old_handle = notags(unxmlify($data->author));
$new_handle = notags(unxmlify($data->profile->author)); $new_handle = notags(unxmlify($data->profile->author));
$signature = notags(unxmlify($data->signature)); $signature = notags(unxmlify($data->signature));