diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-07-19 11:40:11 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-07-19 11:40:11 +0200 |
commit | a22940d3cd461a4d8f48b9bbd6eecbb380837d21 (patch) | |
tree | b3664752c27f505553b414184f223bd18fc2ecf8 /lib/public/util.php | |
parent | 9379cbf602362443f1084303c50234470acd15b7 (diff) | |
download | nextcloud-server-a22940d3cd461a4d8f48b9bbd6eecbb380837d21.tar.gz nextcloud-server-a22940d3cd461a4d8f48b9bbd6eecbb380837d21.zip |
Add OC_L10N to public api
Diffstat (limited to 'lib/public/util.php')
-rw-r--r-- | lib/public/util.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/util.php b/lib/public/util.php index 6744c2d37bd..cad1c5fd64e 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -78,6 +78,15 @@ class Util { } /** + * @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 */ |