From f1ceb5592037b25ad26ff41fef8f3525f102395b Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Mon, 23 Apr 2001 14:37:08 +0000 Subject: [PATCH] Add null upgrade to 0.9.10 release - hope this is right --- setup/sql/mysql_newtables.inc.php | 2 +- setup/sql/mysql_upgrade_beta.inc.php | 7 +++++++ setup/sql/pgsql_newtables.inc.php | 2 +- setup/sql/pgsql_upgrade_beta.inc.php | 7 +++++++ 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/setup/sql/mysql_newtables.inc.php b/setup/sql/mysql_newtables.inc.php index eb00f73b93..2dde4aa2bb 100644 --- a/setup/sql/mysql_newtables.inc.php +++ b/setup/sql/mysql_newtables.inc.php @@ -348,7 +348,7 @@ )"; $phpgw_setup->db->query($sql); - $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre28'; + $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10'; $phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi']; update_version_table(); // $phpgw_setup->update_version_table(); diff --git a/setup/sql/mysql_upgrade_beta.inc.php b/setup/sql/mysql_upgrade_beta.inc.php index d53d25b2f6..464c304533 100644 --- a/setup/sql/mysql_upgrade_beta.inc.php +++ b/setup/sql/mysql_upgrade_beta.inc.php @@ -1462,6 +1462,13 @@ $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre28'; } + $test[] = '0.9.10pre28'; + function upgrade0_9_10pre28() + { + global $phpgw_info; + $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10'; + } + reset ($test); while (list ($key, $value) = each ($test)){ if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) { diff --git a/setup/sql/pgsql_newtables.inc.php b/setup/sql/pgsql_newtables.inc.php index 1cc6ebc19e..53cce25425 100644 --- a/setup/sql/pgsql_newtables.inc.php +++ b/setup/sql/pgsql_newtables.inc.php @@ -316,7 +316,7 @@ )"; $phpgw_setup->db->query($sql); - $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre28'; + $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10'; $phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi']; update_version_table(); ?> diff --git a/setup/sql/pgsql_upgrade_beta.inc.php b/setup/sql/pgsql_upgrade_beta.inc.php index 8e05fdf127..c4e755f5b2 100644 --- a/setup/sql/pgsql_upgrade_beta.inc.php +++ b/setup/sql/pgsql_upgrade_beta.inc.php @@ -1854,6 +1854,13 @@ $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre28'; } + $test[] = '0.9.10pre28'; + function upgrade0_9_10pre28() + { + global $phpgw_info; + $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10'; + } + reset ($test); while (list ($key, $value) = each ($test)){ if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {