From 3c3a2b9b271ca64df2b7b7713585351d5d8cbeaf Mon Sep 17 00:00:00 2001
From: Michael Gapczynski <GapczynskiM@gmail.com>
Date: Thu, 7 Jun 2012 09:25:50 -0400
Subject: [PATCH] Remove old internal mail call for password reset, fixes bug
 oc-934

---
 core/lostpassword/index.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/core/lostpassword/index.php b/core/lostpassword/index.php
index f1d90eaeff..6bed7bdd93 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@' . OCP\Util::getServerHost();
-			$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');
 
-- 
GitLab