reformat method call and fix paranthesis mismatch
This commit is contained in:
parent
2b2b1b487c
commit
d0b71dffca
|
@ -159,14 +159,14 @@ class LostController extends Controller {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// FIXME: should be added to the container and injected in here
|
// FIXME: should be added to the container and injected in here
|
||||||
\OC_Mail::send($email, $user, $this->l10n->t(
|
\OC_Mail::send(
|
||||||
'%s password reset',
|
$email,
|
||||||
array(
|
$user,
|
||||||
$this->defaults->getName())),
|
$this->l10n->t('%s password reset', array($this->defaults->getName())),
|
||||||
$msg,
|
$msg,
|
||||||
$this->from,
|
$this->from,
|
||||||
$this->defaults->getName()
|
$this->defaults->getName()
|
||||||
));
|
);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
throw new \Exception($this->l10n->t(
|
throw new \Exception($this->l10n->t(
|
||||||
'Couldn’t send reset email. Please contact your administrator.'
|
'Couldn’t send reset email. Please contact your administrator.'
|
||||||
|
|
Loading…
Reference in New Issue