Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2012-06-07 17:25:50 +0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2012-06-07 17:36:23 +0400
commitd28e0f4d5b0086bf4877e4259b58f6cb4a3e3e30 (patch)
tree66e0e1f1df896d567ad30f3865d193c8dfdea1f4 /core
parentf3f3c791bae3fa9836cf2951ed1cd33a1e7767d1 (diff)
Remove old internal mail call for password reset, fixes bug oc-934
Conflicts: core/lostpassword/index.php
Diffstat (limited to 'core')
-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 db9f842380e..fff7e99a593 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@' . 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');