From: Myles McNamara Date: Thu, 8 Aug 2013 20:21:47 +0000 (-0400) Subject: use getName instead of getTitle X-Git-Tag: v6.0.0alpha2~325^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f5d23c469d15f09c0591da7634853508592a79f3;p=nextcloud-server.git use getName instead of getTitle --- 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.'); }