aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-09-12 18:15:22 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-03-01 22:35:28 -0600
commit1bcd3966798e77b859a263112f35262bd36ead13 (patch)
treec6f5d7883e308e08d80c75d5e5e25f382b33c4c2 /lib/private/Repair.php
parent4a4067a378efe00ab06c5be1d73e8f7930251e81 (diff)
downloadnextcloud-server-1bcd3966798e77b859a263112f35262bd36ead13.tar.gz
nextcloud-server-1bcd3966798e77b859a263112f35262bd36ead13.zip
Change language code for languages with only one translation
* then the language is not that specific and get also matched for fi * fallback from fi_FI to fi is supported - the other way around not * contains repair script * contains tests for repair script * fixes #869 Order results to make postgres happy Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r--lib/private/Repair.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index 6344db64e8e..7f142a808aa 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -36,6 +36,7 @@ use OC\Repair\MoveUpdaterStepFile;
use OC\Repair\NC11\CleanPreviews;
use OC\Repair\NC11\FixMountStorages;
use OC\Repair\NC11\MoveAvatars;
+use OC\Repair\NC12\UpdateLanguageCodes;
use OC\Repair\OldGroupMembershipShares;
use OC\Repair\RemoveRootShares;
use OC\Repair\SqliteAutoincrement;
@@ -134,6 +135,7 @@ class Repair implements IOutput{
\OC::$server->getConfig()
),
new FixMountStorages(\OC::$server->getDatabaseConnection()),
+ new UpdateLanguageCodes(\OC::$server->getDatabaseConnection()),
];
}