diff options
-rw-r--r-- | lib/public/util.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/util.php b/lib/public/util.php index 8f4691eeade..ff8c743c0df 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -128,10 +128,11 @@ class Util { /** * get l10n object * @param string $application + * @param string|null $language * @return \OC_L10N */ - public static function getL10N( $application ) { - return \OC_L10N::get( $application ); + public static function getL10N($application, $language = null) { + return \OC_L10N::get($application, $language); } /** |