summaryrefslogtreecommitdiffstats
path: root/lib/private/l10n.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-07-08 16:37:18 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-07-08 16:37:18 +0200
commit65d9d6ad01e96dc88491b5983e8d5f9a032f3131 (patch)
tree723f83dc1e2be513bc1b475b1283cc3afff600a4 /lib/private/l10n.php
parent3338a0f236a5dc8722faccdaef5e8ab1ea73e841 (diff)
parent8363f3c6355e5bd2bb54875d11e326747df265c8 (diff)
downloadnextcloud-server-65d9d6ad01e96dc88491b5983e8d5f9a032f3131.tar.gz
nextcloud-server-65d9d6ad01e96dc88491b5983e8d5f9a032f3131.zip
Merge pull request #9412 from owncloud/public-api-activity
Public api activity
Diffstat (limited to 'lib/private/l10n.php')
-rw-r--r--lib/private/l10n.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/l10n.php b/lib/private/l10n.php
index 3e44be88150..28b35e92a2f 100644
--- a/lib/private/l10n.php
+++ b/lib/private/l10n.php
@@ -404,14 +404,15 @@ class OC_L10N implements \OCP\IL10N {
/**
* find the best language
+ *
* @param array|string $app details below
- * string language
*
* If $app is an array, ownCloud assumes that these are the available
* languages. Otherwise ownCloud tries to find the files in the l10n
* folder.
*
* If nothing works it returns 'en'
+ * @return string language
*/
public function getLanguageCode($app=null) {
return self::findLanguage($app);