From 529ac74340e9c9424d2f0e43fd7754906ad8a881 Mon Sep 17 00:00:00 2001 From: Pellaeon Lin Date: Fri, 3 Oct 2014 14:31:55 +0800 Subject: [PATCH] Fix sendMail function name --- controller/registercontroller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/registercontroller.php b/controller/registercontroller.php index 7a05a62..888ebe0 100644 --- a/controller/registercontroller.php +++ b/controller/registercontroller.php @@ -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;