diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-03-02 18:02:51 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-03-03 16:47:31 +0100 |
commit | b669bf26d6774706a61242d67fbfe24f05eb1760 (patch) | |
tree | df87392d2ed11133936465182609fd70dd2f1450 /lib/public | |
parent | ed4c05c7b5e61d00722238f25154ad475fd632bb (diff) | |
download | nextcloud-server-b669bf26d6774706a61242d67fbfe24f05eb1760.tar.gz nextcloud-server-b669bf26d6774706a61242d67fbfe24f05eb1760.zip |
Fix the behaviour of getLanguageCode() to match the expectation of the name
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/il10n.php | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/public/il10n.php b/lib/public/il10n.php index 2c95ddfec18..c63c18209e4 100644 --- a/lib/public/il10n.php +++ b/lib/public/il10n.php @@ -75,15 +75,9 @@ interface IL10N { /** - * find the best language - * @param array|string $app details below - * @return 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. + * The code (en, de, ...) of the language that is used for this OC_L10N object * - * If nothing works it returns 'en' + * @return string language */ - public function getLanguageCode($app=null); + public function getLanguageCode(); } |