]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove old internal mail call for password reset, fixes bug oc-934
authorMichael Gapczynski <GapczynskiM@gmail.com>
Thu, 7 Jun 2012 13:25:50 +0000 (09:25 -0400)
committerMichael Gapczynski <GapczynskiM@gmail.com>
Thu, 7 Jun 2012 13:25:50 +0000 (09:25 -0400)
core/lostpassword/index.php

index f1d90eaeffea646816d7843555949ac24f80c097..6bed7bdd93f7412568cb96c6ba6d96e234aaa488 100644 (file)
@@ -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');