diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/lostpassword/index.php | 1 |
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'); |