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

Conflicts:
	core/lostpassword/index.php
This commit is contained in:
Michael Gapczynski 2012-06-07 09:25:50 -04:00
parent f3f3c791ba
commit d28e0f4d5b
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@' . 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');