diff options
author | Andreas Fischer <bantu@owncloud.com> | 2013-10-23 12:39:12 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2013-10-23 12:39:12 +0200 |
commit | 207f6d55ce5047e43f7250ef30b14525dee6bd65 (patch) | |
tree | 3a24ba0d04dc96fd566c95badf66166fc3bf0397 /lib/private/l10n.php | |
parent | 9d1b425b62af0dc56af473d853d39182a7597a6c (diff) | |
download | nextcloud-server-207f6d55ce5047e43f7250ef30b14525dee6bd65.tar.gz nextcloud-server-207f6d55ce5047e43f7250ef30b14525dee6bd65.zip |
Fix coding style for else.
Diffstat (limited to 'lib/private/l10n.php')
-rw-r--r-- | lib/private/l10n.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/private/l10n.php b/lib/private/l10n.php index 38efa88388d..99481404f62 100644 --- a/lib/private/l10n.php +++ b/lib/private/l10n.php @@ -438,8 +438,7 @@ class OC_L10N implements \OCP\IL10N { if(is_array($app)) { $available = $app; $lang_exists = array_search($lang, $available) !== false; - } - else { + } else { $lang_exists = self::languageExists($app, $lang); } if($lang_exists) { @@ -457,8 +456,7 @@ class OC_L10N implements \OCP\IL10N { $accepted_languages = preg_split('/,\s*/', strtolower($_SERVER['HTTP_ACCEPT_LANGUAGE'])); if(is_array($app)) { $available = $app; - } - else{ + } else { $available = self::findAvailableLanguages($app); } foreach($accepted_languages as $i) { |