summaryrefslogtreecommitdiffstats
path: root/lib/private/L10N/Factory.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/L10N/Factory.php')
-rw-r--r--lib/private/L10N/Factory.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/L10N/Factory.php b/lib/private/L10N/Factory.php
index 5624155dadd..a5b208cfb3c 100644
--- a/lib/private/L10N/Factory.php
+++ b/lib/private/L10N/Factory.php
@@ -505,7 +505,7 @@ class Factory implements IFactory {
if (file_exists($this->serverRoot . '/' . $app . '/l10n/')) {
return $this->serverRoot . '/' . $app . '/l10n/';
}
- } else if ($app && \OC_App::getAppPath($app) !== false) {
+ } elseif ($app && \OC_App::getAppPath($app) !== false) {
// Check if the app is in the app folder
return \OC_App::getAppPath($app) . '/l10n/';
}
@@ -603,7 +603,7 @@ class Factory implements IFactory {
'code' => $lang,
'name' => $potentialName
];
- } else if ($lang === 'en') {
+ } elseif ($lang === 'en') {
$ln = [
'code' => $lang,
'name' => 'English (US)'