diff options
| author | Bart van Bragt <bartvb@users.sourceforge.net> | 2002-03-05 14:15:39 +0000 |
|---|---|---|
| committer | Bart van Bragt <bartvb@users.sourceforge.net> | 2002-03-05 14:15:39 +0000 |
| commit | 39fd3d9021822be41df749029337183ba560a7f3 (patch) | |
| tree | b3abfd7b2df3f3d9abe88bb93526e6026150a12f /phpBB | |
| parent | 0daf91e6683902233fe53a7560f5b94e7d0cd66c (diff) | |
| download | forums-39fd3d9021822be41df749029337183ba560a7f3.tar forums-39fd3d9021822be41df749029337183ba560a7f3.tar.gz forums-39fd3d9021822be41df749029337183ba560a7f3.tar.bz2 forums-39fd3d9021822be41df749029337183ba560a7f3.tar.xz forums-39fd3d9021822be41df749029337183ba560a7f3.zip | |
Rename 'nederlands' to 'dutch' during upgrade
git-svn-id: file:///svn/phpbb/trunk@2271 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/upgrade.php | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/phpBB/upgrade.php b/phpBB/upgrade.php index 7474a42959..347d184f70 100644 --- a/phpBB/upgrade.php +++ b/phpBB/upgrade.php @@ -571,6 +571,11 @@ if ( !empty($next) ) } } + $sql = "UPDATE " . CONFIG_TABLE . " + SET config_value = 'dutch' + WHERE config_name = 'default_lang' && config_value = 'nederlands'"; + query($sql, "Couldn't rename 'nederlands' to 'dutch' in config table"); + print "<span class=\"ok\"><b>OK</b></span><br />\n"; end_step('convert_ips'); @@ -898,6 +903,14 @@ if ( !empty($next) ) $first_admin = $row['user_id']; } + // + // Dutch language files have been renamed from 'nederlands' to 'dutch' + // + if( $row['user_lang'] == 'nederlands' ) + { + $row['user_lang'] = 'dutch'; + } + $sql = "UPDATE " . USERS_TABLE . " SET user_sig = '" . $row['user_sig'] . "', @@ -1859,4 +1872,4 @@ print "<br />If the upgrade completed without error you may click <a href=\"inde common_footer(); -?>
\ No newline at end of file +?> |
