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 --- apps/files/ajax/newfile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files/ajax/newfile.php') diff --git a/apps/files/ajax/newfile.php b/apps/files/ajax/newfile.php index 8173816af3a..606576760ec 100644 --- a/apps/files/ajax/newfile.php +++ b/apps/files/ajax/newfile.php @@ -46,7 +46,7 @@ function progress($notification_code, $severity, $message, $message_code, $bytes } } -$l10n = \OC_L10n::get('files'); +$l10n = \OC::$server->getL10N('files'); $result = array( 'success' => false, -- cgit v1.2.3