summaryrefslogtreecommitdiffstats
path: root/lib/mail.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-07-03 14:21:51 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-07-04 10:11:16 +0200
commit3c691c9ec9b659897f4dda3769da7049c1ed23a9 (patch)
tree0f82fb63950245a312b0848b6200db81073f74a3 /lib/mail.php
parentd46e62886a2b22a4c80df8cca09fb6f354d48614 (diff)
downloadnextcloud-server-3c691c9ec9b659897f4dda3769da7049c1ed23a9.tar.gz
nextcloud-server-3c691c9ec9b659897f4dda3769da7049c1ed23a9.zip
move to non-static OC_Defaults
Conflicts: lib/mail.php
Diffstat (limited to 'lib/mail.php')
-rw-r--r--lib/mail.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mail.php b/lib/mail.php
index 7c786ecc290..b339b33e962 100644
--- a/lib/mail.php
+++ b/lib/mail.php
@@ -113,11 +113,11 @@ class OC_Mail {
*/
public static function getfooter() {
- OC_Defaults::init();
+ $defaults = new OC_Defaults();
$txt="\n--\n";
- $txt.=OC_Defaults::getName() . "\n";
- $txt.=OC_Defaults::getSlogan() . "\n";
+ $txt.=$defaults->getName() . "\n";
+ $txt.=$defaults->getSlogan() . "\n";
return($txt);