summaryrefslogtreecommitdiffstats
path: root/lib/public/util.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-07-21 11:19:20 -0700
committerBart Visscher <bartv@thisnet.nl>2013-07-21 11:19:20 -0700
commit9bf12da7504a04a05edf02286d9777d2235e7274 (patch)
tree5aeb5be7624678348784071f82635cdbedfa26c5 /lib/public/util.php
parent94fcbc736e3500e0107d8e4f1ce5a2133fcdd8d8 (diff)
parentcbe1c22b5f027d010c1b6bb5d27d79526261f76a (diff)
downloadnextcloud-server-9bf12da7504a04a05edf02286d9777d2235e7274.tar.gz
nextcloud-server-9bf12da7504a04a05edf02286d9777d2235e7274.zip
Merge pull request #3880 from owncloud/code-checker
Add classes replaced by the public api to the code checker
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 d69602f4507..7205950d149 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
*/