summaryrefslogtreecommitdiffstats
path: root/core/lostpassword
diff options
context:
space:
mode:
authorMyles McNamara <myles@hostt.net>2013-08-08 16:21:47 -0400
committerMyles McNamara <myles@hostt.net>2013-08-08 16:21:47 -0400
commitf5d23c469d15f09c0591da7634853508592a79f3 (patch)
treea9493712343f29abd9d3d2b55c4dae2aac95f8cb /core/lostpassword
parent74a264e82e86449c696b413d760c61d8f41b587c (diff)
downloadnextcloud-server-f5d23c469d15f09c0591da7634853508592a79f3.tar.gz
nextcloud-server-f5d23c469d15f09c0591da7634853508592a79f3.zip
use getName instead of getTitle
Diffstat (limited to 'core/lostpassword')
-rw-r--r--core/lostpassword/controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lostpassword/controller.php b/core/lostpassword/controller.php
index 20445afe3fe..74a5be2b96f 100644
--- a/core/lostpassword/controller.php
+++ b/core/lostpassword/controller.php
@@ -58,7 +58,7 @@ class OC_Core_LostPassword_Controller {
$from = OCP\Util::getDefaultEmailAddress('lostpassword-noreply');
try {
$defaults = new OC_Defaults();
- OC_Mail::send($email, $_POST['user'], $l->t('%s password reset', array($defaults->getTitle())), $msg, $from, $defaults->getName());
+ OC_Mail::send($email, $_POST['user'], $l->t('%s password reset', array($defaults->getName())), $msg, $from, $defaults->getName());
} catch (Exception $e) {
OC_Template::printErrorPage( 'A problem occurs during sending the e-mail please contact your administrator.');
}