aboutsummaryrefslogtreecommitdiffstats
path: root/settings/admin/controller.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/admin/controller.php')
-rw-r--r--settings/admin/controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/admin/controller.php b/settings/admin/controller.php
index 7ced57791e9..395bc7c6e49 100644
--- a/settings/admin/controller.php
+++ b/settings/admin/controller.php
@@ -27,7 +27,7 @@ class Controller {
\OC_Util::checkAdminUser();
\OCP\JSON::callCheck();
- $l = \OC_L10N::get('settings');
+ $l = \OC::$server->getL10N('settings');
$smtp_settings = array(
'mail_domain' => null,
@@ -80,7 +80,7 @@ class Controller {
\OC_Util::checkAdminUser();
\OCP\JSON::callCheck();
- $l = \OC_L10N::get('settings');
+ $l = \OC::$server->getL10N('settings');
$email = \OC_Preferences::getValue(\OC_User::getUser(), 'settings', 'email', '');
if (!empty($email)) {
$defaults = new \OC_Defaults();