summaryrefslogtreecommitdiffstats
path: root/lib/mail.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-07-03 12:38:20 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-07-04 10:09:28 +0200
commitd46e62886a2b22a4c80df8cca09fb6f354d48614 (patch)
tree92324f0798a786259e4c31af3a8553a63e57e626 /lib/mail.php
parent51cfacd78903e9b24df3cb6de178ec19805fd444 (diff)
downloadnextcloud-server-d46e62886a2b22a4c80df8cca09fb6f354d48614.tar.gz
nextcloud-server-d46e62886a2b22a4c80df8cca09fb6f354d48614.zip
Add init funtion to OC_Defaults to be able to wrap translatable strings
Diffstat (limited to 'lib/mail.php')
-rw-r--r--lib/mail.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mail.php b/lib/mail.php
index d6a383fe003..7c786ecc290 100644
--- a/lib/mail.php
+++ b/lib/mail.php
@@ -113,6 +113,8 @@ class OC_Mail {
*/
public static function getfooter() {
+ OC_Defaults::init();
+
$txt="\n--\n";
$txt.=OC_Defaults::getName() . "\n";
$txt.=OC_Defaults::getSlogan() . "\n";