diff --git a/setup/upgradetables_mysql.inc.php b/setup/upgradetables_mysql.inc.php index 2520f3bacd..dc4ed2636b 100644 --- a/setup/upgradetables_mysql.inc.php +++ b/setup/upgradetables_mysql.inc.php @@ -215,13 +215,13 @@ $db->query("update lang set lang='da' where lang='dk'"); $db->query("update lang set lang='ko' where lang='kr'"); - $db->query("update preferences set lang='da' where lang='dk'"); - $db->query("update preferences set lang='ko' where lang='kr'"); + $db->query("update preferences set preference_name='da' where preference_name='dk'"); + $db->query("update preferences set preference_name='ko' where preference_name='kr'"); echo " \n"; - echo " Upgrade from 0.9.1 to 0.9.2pre1 is completed.\n"; + echo " Upgrade from 0.9.1 to 0.9.2 is completed.\n"; echo " \n"; - $currentver = "0.9.2pre1"; + $currentver = "0.9.2"; } } diff --git a/setup/upgradetables_pgsql.inc.php b/setup/upgradetables_pgsql.inc.php index 2520f3bacd..dc4ed2636b 100644 --- a/setup/upgradetables_pgsql.inc.php +++ b/setup/upgradetables_pgsql.inc.php @@ -215,13 +215,13 @@ $db->query("update lang set lang='da' where lang='dk'"); $db->query("update lang set lang='ko' where lang='kr'"); - $db->query("update preferences set lang='da' where lang='dk'"); - $db->query("update preferences set lang='ko' where lang='kr'"); + $db->query("update preferences set preference_name='da' where preference_name='dk'"); + $db->query("update preferences set preference_name='ko' where preference_name='kr'"); echo " \n"; - echo " Upgrade from 0.9.1 to 0.9.2pre1 is completed.\n"; + echo " Upgrade from 0.9.1 to 0.9.2 is completed.\n"; echo " \n"; - $currentver = "0.9.2pre1"; + $currentver = "0.9.2"; } }