aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2012-06-07 09:25:50 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2012-06-07 09:25:50 -0400
commit3c3a2b9b271ca64df2b7b7713585351d5d8cbeaf (patch)
tree2adfcbe3d6d0716347f0026cbccfa5ca63e7a866
parent44880ab3fa31d8b0ad1475d277315e57407f9341 (diff)
downloadnextcloud-server-3c3a2b9b271ca64df2b7b7713585351d5d8cbeaf.tar.gz
nextcloud-server-3c3a2b9b271ca64df2b7b7713585351d5d8cbeaf.zip
Remove old internal mail call for password reset, fixes bug oc-934
-rw-r--r--core/lostpassword/index.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/lostpassword/index.php b/core/lostpassword/index.php
index f1d90eaeffe..6bed7bdd93f 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');