Fix sendMail function name
This commit is contained in:
parent
34bccdd6e9
commit
529ac74340
|
|
@ -82,7 +82,7 @@ class RegisterController extends Controller {
|
||||||
$res = new TemplateResponse('registration', 'email', array('link' => $link));
|
$res = new TemplateResponse('registration', 'email', array('link' => $link));
|
||||||
$msg = $res->render();
|
$msg = $res->render();
|
||||||
try {
|
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) {
|
} catch (Exception $e) {
|
||||||
\OC_Template::printErrorPage( 'A problem occurs during sending the e-mail please contact your administrator.');
|
\OC_Template::printErrorPage( 'A problem occurs during sending the e-mail please contact your administrator.');
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue