diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-28 21:46:28 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-28 21:46:28 +0200 |
commit | 740659a04c28f8b2bfd9265d459dd3bca202300f (patch) | |
tree | d800c3896184bdfc00333f4067c4d567b8ab6d4b /apps/files/lib/Helper.php | |
parent | f2cae3cee127220a5fde2726af8074837ee81ed1 (diff) | |
download | nextcloud-server-740659a04c28f8b2bfd9265d459dd3bca202300f.tar.gz nextcloud-server-740659a04c28f8b2bfd9265d459dd3bca202300f.zip |
Move away from OC_L10N
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files/lib/Helper.php')
-rw-r--r-- | apps/files/lib/Helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Helper.php b/apps/files/lib/Helper.php index 26bc020c871..b6b209dea70 100644 --- a/apps/files/lib/Helper.php +++ b/apps/files/lib/Helper.php @@ -45,7 +45,7 @@ class Helper { public static function buildFileStorageStatistics($dir) { // information about storage capacities $storageInfo = \OC_Helper::getStorageInfo($dir); - $l = new \OC_L10N('files'); + $l = \OC::$server->getL10N('files'); $maxUploadFileSize = \OCP\Util::maxUploadFilesize($dir, $storageInfo['free']); $maxHumanFileSize = \OCP\Util::humanFileSize($maxUploadFileSize); $maxHumanFileSize = $l->t('Upload (max. %s)', array($maxHumanFileSize)); |