From d0b71dffca8754f9a2633586b35772b862bbe1d2 Mon Sep 17 00:00:00 2001
From: Morris Jobke <hey@morrisjobke.de>
Date: Fri, 13 Jun 2014 15:39:44 +0200
Subject: [PATCH] reformat method call and fix paranthesis mismatch

---
 core/lostpassword/controller/lostcontroller.php | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/core/lostpassword/controller/lostcontroller.php b/core/lostpassword/controller/lostcontroller.php
index c140499015..a13d6a26d5 100644
--- a/core/lostpassword/controller/lostcontroller.php
+++ b/core/lostpassword/controller/lostcontroller.php
@@ -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.'
-- 
GitLab