diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-07-21 11:19:20 -0700 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-07-21 11:19:20 -0700 |
commit | 9bf12da7504a04a05edf02286d9777d2235e7274 (patch) | |
tree | 5aeb5be7624678348784071f82635cdbedfa26c5 /lib/public/util.php | |
parent | 94fcbc736e3500e0107d8e4f1ce5a2133fcdd8d8 (diff) | |
parent | cbe1c22b5f027d010c1b6bb5d27d79526261f76a (diff) | |
download | nextcloud-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.php | 9 |
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 */ |