Move mail_confirm_address out of mail.php

This commit is contained in:
Mikael Nordfeldth
2016-03-06 17:27:40 +01:00
parent 47ae21c08e
commit 6ec72b2978
7 changed files with 94 additions and 60 deletions

View File

@@ -73,8 +73,4 @@ $url = common_local_url('confirmfirstemail',
print "$url\n";
mail_confirm_address($user,
$confirm->code,
$user->nickname,
$email,
$url);
$confirm->sendConfirmation(['url'=>$url]);