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.'