reformat method call and fix paranthesis mismatch

This commit is contained in:
Morris Jobke 2014-06-13 15:39:44 +02:00
parent 2b2b1b487c
commit d0b71dffca
1 changed files with 8 additions and 8 deletions

View File

@ -159,14 +159,14 @@ class LostController extends Controller {
try {
// FIXME: should be added to the container and injected in here
\OC_Mail::send($email, $user, $this->l10n->t(
'%s password reset',
array(
$this->defaults->getName())),
\OC_Mail::send(
$email,
$user,
$this->l10n->t('%s password reset', array($this->defaults->getName())),
$msg,
$this->from,
$this->defaults->getName()
));
);
} catch (\Exception $e) {
throw new \Exception($this->l10n->t(
'Couldnt send reset email. Please contact your administrator.'