From d0266c0bf85e431a3b1b39cbfaced4e8df52a264 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sun, 31 Aug 2014 10:05:59 +0200 Subject: Use public api for getting l10n --- lib/private/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/setup.php') diff --git a/lib/private/setup.php b/lib/private/setup.php index fdf98ab0959..2e23aae8838 100644 --- a/lib/private/setup.php +++ b/lib/private/setup.php @@ -15,7 +15,7 @@ class OC_Setup { ); public static function getTrans(){ - return OC_L10N::get('lib'); + return \OC::$server->getL10N('lib'); } public static function install($options) { -- cgit v1.2.3