summaryrefslogtreecommitdiffstats
path: root/core/lostpassword
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-06-13 15:39:44 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-06-13 15:39:44 +0200
commitd0b71dffca8754f9a2633586b35772b862bbe1d2 (patch)
treebc02d54eda61b187a4a731f7af04b689e01154bc /core/lostpassword
parent2b2b1b487c6b74d442a70ebb0468a8990c26d08d (diff)
downloadnextcloud-server-d0b71dffca8754f9a2633586b35772b862bbe1d2.tar.gz
nextcloud-server-d0b71dffca8754f9a2633586b35772b862bbe1d2.zip
reformat method call and fix paranthesis mismatch
Diffstat (limited to 'core/lostpassword')
-rw-r--r--core/lostpassword/controller/lostcontroller.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/lostpassword/controller/lostcontroller.php b/core/lostpassword/controller/lostcontroller.php
index c140499015f..a13d6a26d51 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.'