diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2015-09-18 20:44:38 +0300 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2015-09-18 21:47:24 +0300 |
commit | 98db623f0717bb2cefc6d874aa1a4dc168b529dc (patch) | |
tree | 78ca88f16be5a7a9cc3fe1673995d4dff744e790 /lib | |
parent | b8917435f37b2c076aaeb27c25d5ca2e4e0eee40 (diff) |
Remove getL10N
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config.php | 4 | ||||
-rw-r--r-- | lib/db/member.php | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/config.php b/lib/config.php index b4e59067..3d5848bf 100644 --- a/lib/config.php +++ b/lib/config.php @@ -45,10 +45,6 @@ class Config { return true; } - public static function getL10n(){ - return \OCP\Util::getL10N(self::APP_NAME); - } - public static function getConverter(){ return self::getAppValue('converter', 'off'); } diff --git a/lib/db/member.php b/lib/db/member.php index 9d70b843..a0db4dba 100644 --- a/lib/db/member.php +++ b/lib/db/member.php @@ -36,7 +36,7 @@ class Member extends \OCA\Documents\Db{ protected $loadStatement = 'SELECT * FROM `*PREFIX*documents_member` WHERE `member_id`= ?'; public static function getGuestPostfix(){ - return '(' . \OCA\Documents\Config::getL10n()->t('guest') . ')'; + return '(' . \OC::$server->getL10n('documents')->t('guest') . ')'; } |