]> source.dussan.org Git - nextcloud-server.git/commitdiff
use getName instead of getTitle
authorMyles McNamara <myles@hostt.net>
Thu, 8 Aug 2013 20:21:47 +0000 (16:21 -0400)
committerMyles McNamara <myles@hostt.net>
Thu, 8 Aug 2013 20:21:47 +0000 (16:21 -0400)
core/lostpassword/controller.php

index 20445afe3fe82bd0fd0dfa05c8a3f1042c391431..74a5be2b96f002c4dcd28ccef8f4214d4a4563c3 100644 (file)
@@ -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.');
                                }