From 5c92817fde1ac41982eeebef864518615d541987 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 31 May 2001 22:53:40 +0000 Subject: [PATCH] Fix to get around erroneous version in admin/setup/setup.inc.php --- setup/sql/mysql_upgrade_beta.inc.php | 6 ++++++ setup/sql/pgsql_upgrade_beta.inc.php | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/setup/sql/mysql_upgrade_beta.inc.php b/setup/sql/mysql_upgrade_beta.inc.php index 0e7968e2c9..4a67ae1cd3 100644 --- a/setup/sql/mysql_upgrade_beta.inc.php +++ b/setup/sql/mysql_upgrade_beta.inc.php @@ -1678,6 +1678,12 @@ $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.13.001'; } + $test[] = '0.9.11.011'; + function upgrade0_9_11_011() + { + global $phpgw_info; + $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.13.001'; + } reset ($test); while (list ($key, $value) = each ($test)){ diff --git a/setup/sql/pgsql_upgrade_beta.inc.php b/setup/sql/pgsql_upgrade_beta.inc.php index 87d307ed1b..a3ef454351 100644 --- a/setup/sql/pgsql_upgrade_beta.inc.php +++ b/setup/sql/pgsql_upgrade_beta.inc.php @@ -2198,6 +2198,13 @@ $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.13.001'; } + $test[] = '0.9.11.011'; + function upgrade0_9_11_011() + { + global $phpgw_info; + $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.13.001'; + } + reset ($test); while (list ($key, $value) = each ($test)){ if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {