aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/util.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-07-19 11:40:11 +0200
committerBart Visscher <bartv@thisnet.nl>2013-07-19 11:40:11 +0200
commita22940d3cd461a4d8f48b9bbd6eecbb380837d21 (patch)
treeb3664752c27f505553b414184f223bd18fc2ecf8 /lib/public/util.php
parent9379cbf602362443f1084303c50234470acd15b7 (diff)
downloadnextcloud-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.php9
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
*/