Add null upgrade to 0.9.10 release - hope this is right

This commit is contained in:
Miles Lott 2001-04-23 14:37:08 +00:00
parent 155246b74b
commit f1ceb55920
4 changed files with 16 additions and 2 deletions

View File

@ -348,7 +348,7 @@
)"; )";
$phpgw_setup->db->query($sql); $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']; $phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi'];
update_version_table(); update_version_table();
// $phpgw_setup->update_version_table(); // $phpgw_setup->update_version_table();

View File

@ -1462,6 +1462,13 @@
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre28'; $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); reset ($test);
while (list ($key, $value) = each ($test)){ while (list ($key, $value) = each ($test)){
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) { if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {

View File

@ -316,7 +316,7 @@
)"; )";
$phpgw_setup->db->query($sql); $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']; $phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi'];
update_version_table(); update_version_table();
?> ?>

View File

@ -1854,6 +1854,13 @@
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre28'; $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); reset ($test);
while (list ($key, $value) = each ($test)){ while (list ($key, $value) = each ($test)){
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) { if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {