]> source.dussan.org Git - nextcloud-server.git/commitdiff
reformat method call and fix paranthesis mismatch
authorMorris Jobke <hey@morrisjobke.de>
Fri, 13 Jun 2014 13:39:44 +0000 (15:39 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Fri, 13 Jun 2014 13:39:44 +0000 (15:39 +0200)
core/lostpassword/controller/lostcontroller.php

index c140499015f1621e048c1e913ac1c622d96228ec..a13d6a26d51978e83b046607154f57e066532b34 100644 (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())),
-                                       $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.'