Remove old internal mail call for password reset, fixes bug oc-934

This commit is contained in:
Michael Gapczynski 2012-06-07 09:25:50 -04:00
parent 44880ab3fa
commit 3c3a2b9b27
1 changed files with 0 additions and 1 deletions

View 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');