Skip to content
Snippets Groups Projects
Commit a22940d3 authored by Bart Visscher's avatar Bart Visscher
Browse files

Add OC_L10N to public api

parent 9379cbf6
No related branches found
No related tags found
No related merge requests found
......@@ -451,6 +451,7 @@ class OC_Installer{
'OC_Hook::',
'OC_Image::',
'OC_JSON::',
'OC_L10N::',
'OC_Log::',
'OC_Mail::',
'OC_Preferences::',
......
......@@ -77,6 +77,15 @@ class Util {
\OC_LOG::write( $app, $message, $level );
}
/**
* @brief get l10n object
* @param string $app
* @return OC_L10N
*/
public static function getL10N( $application ) {
\OC_L10N::get( $application );
}
/**
* @brief add a css file
* @param string $url
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment