[Pkg-owncloud-commits] [owncloud] 85/223: reformat method call and fix paranthesis mismatch

David Prévot taffit at moszumanska.debian.org
Sun Jun 22 01:54:09 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit d0b71dffca8754f9a2633586b35772b862bbe1d2
Author: Morris Jobke <hey at morrisjobke.de>
Date:   Fri Jun 13 15:39:44 2014 +0200

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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list