From d28e0f4d5b0086bf4877e4259b58f6cb4a3e3e30 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Thu, 7 Jun 2012 09:25:50 -0400 Subject: [PATCH] Remove old internal mail call for password reset, fixes bug oc-934 Conflicts: core/lostpassword/index.php --- core/lostpassword/index.php | 1 - 1 file changed, 1 deletion(-) diff --git a/core/lostpassword/index.php b/core/lostpassword/index.php index db9f842380..fff7e99a59 100644 --- a/core/lostpassword/index.php +++ b/core/lostpassword/index.php @@ -23,7 +23,6 @@ if (isset($_POST['user'])) { $msg = $tmpl->fetchPage(); $l = OC_L10N::get('core'); $from = 'lostpassword-noreply@' . OC_Helper::serverHost(); - $r=mail($email, $l->t('Owncloud password reset'), $msg, 'From:' . $from); OC_MAIL::send($email,$_POST['user'],$l->t('ownCloud password reset'),$msg,$from,'ownCloud'); echo('sent');