Remove echo from lost password page

This commit is contained in:
Michael Gapczynski 2013-01-04 11:12:28 -05:00
parent 4e1923b01e
commit 394cebc90f

View File

@ -45,8 +45,6 @@ class OC_Core_LostPassword_Controller {
$l = OC_L10N::get('core');
$from = OCP\Util::getDefaultEmailAddress('lostpassword-noreply');
OC_Mail::send($email, $_POST['user'], $l->t('ownCloud password reset'), $msg, $from, 'ownCloud');
echo('Mailsent');
self::displayLostPasswordPage(false, true);
} else {
self::displayLostPasswordPage(true, false);