mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Fixed double alias creation for phone accounts
This commit is contained in:
parent
6bbff3f6e1
commit
eae267e264
1 changed files with 0 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue