mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-22 02:50:00 +01:00
Rename 'nederlands' to 'dutch' during upgrade
git-svn-id: file:///svn/phpbb/trunk@2271 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
0daf91e668
commit
39fd3d9021
@ -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();
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user