diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2016-01-12 01:00:44 +0300 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2016-01-12 01:00:44 +0300 |
commit | 7780f7898fd2eddc45fc4cae3d0c4edee83e3b32 (patch) | |
tree | 4cf47f60238cb8ee9e266b27e96a799362004729 | |
parent | c3d9ac1dcda6a435d63e9afed0abd700f0716b5f (diff) | |
parent | 56e5812702277aba49a585260594065d25853d61 (diff) |
Merge pull request #36 from owncloud/deprecated_oc_l10n_get
Replace deprecated call
-rw-r--r-- | lib/mailtemplate.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mailtemplate.php b/lib/mailtemplate.php index 165c0a9..cfc179f 100644 --- a/lib/mailtemplate.php +++ b/lib/mailtemplate.php @@ -164,7 +164,7 @@ class MailTemplate extends \OC_Template { * @return array with keys containing the path and values containing the name of a template */ public static function getEditableTemplates() { - $l10n = \OC_L10N::get('templateeditor'); + $l10n = \OC::$server->getL10NFactory()->get('templateeditor'); $templates = array( 'core/templates/mail.php' => $l10n->t('Sharing email - public link shares (HTML)'), 'core/templates/altmail.php' => $l10n->t('Sharing email - public link shares (plain text fallback)'), |