diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-09-12 18:15:22 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-03-01 22:35:28 -0600 |
commit | 1bcd3966798e77b859a263112f35262bd36ead13 (patch) | |
tree | c6f5d7883e308e08d80c75d5e5e25f382b33c4c2 /lib/private/Repair.php | |
parent | 4a4067a378efe00ab06c5be1d73e8f7930251e81 (diff) | |
download | nextcloud-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.php | 2 |
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()), ]; } |