Skip to content
Snippets Groups Projects
Commit d0b71dff authored by Morris Jobke's avatar Morris Jobke
Browse files

reformat method call and fix paranthesis mismatch

parent 2b2b1b48
No related branches found
No related tags found
No related merge requests found
......@@ -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())),
$msg,
$this->from,
$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(
'Couldn’t send reset email. Please contact your administrator.'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment