parent
61598e7bb5
commit
01878153e0
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue