Fix sendMail function name

This commit is contained in:
Pellaeon Lin 2014-10-03 14:31:55 +08:00
parent 34bccdd6e9
commit 529ac74340
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class RegisterController extends Controller {
$res = new TemplateResponse('registration', 'email', array('link' => $link));
$msg = $res->render();
try {
$this->mail->send($email, 'ownCloud User', $this->l10n->t('Verify your ownCloud registration request'), $msg, $from, 'ownCloud');
$this->mail->sendMail($email, 'ownCloud User', $this->l10n->t('Verify your ownCloud registration request'), $msg, $from, 'ownCloud');
} catch (Exception $e) {
\OC_Template::printErrorPage( 'A problem occurs during sending the e-mail please contact your administrator.');
return;