From 0339bfab4f8a337550b80b9215f87c9c213bd777 Mon Sep 17 00:00:00 2001 From: jengo Date: Wed, 18 Oct 2000 05:09:45 +0000 Subject: [PATCH] The setup scripts are working again --- setup/upgradetables_mysql.inc.php | 8 ++++---- setup/upgradetables_pgsql.inc.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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"; } }