diff options
Diffstat (limited to 'lib/mail.php')
-rw-r--r-- | lib/mail.php | 6 |
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); |