diff --git a/src/xmlrpc/accounts_phone.php b/src/xmlrpc/accounts_phone.php index 33cd0b2..9b778e5 100644 --- a/src/xmlrpc/accounts_phone.php +++ b/src/xmlrpc/accounts_phone.php @@ -112,11 +112,6 @@ function xmlrpc_create_phone_account($method, $args) { $password->algorithm = $algo; $password->create(); - if ($user != $phone) { - $alias->account_id = $account->id; - $alias->create(); - } - if (CUSTOM_HOOKS) { hook_on_account_created($account); }