preparing for a release

This commit is contained in:
seek3r 2001-01-10 09:21:19 +00:00
parent 68d5a03e83
commit de477ebd30
5 changed files with 15 additions and 2 deletions

View File

@ -300,7 +300,7 @@
);"; );";
$phpgw_setup->db->query($sql); $phpgw_setup->db->query($sql);
$phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.8pre5"; $phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.9";
$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

@ -788,6 +788,11 @@
$phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.9pre1"; $phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.9pre1";
} }
$test[] = "0.9.9pre1";
function upgrade0_9_9pre1(){
global $phpgw_info, $phpgw_setup;
$phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.9";
}
reset ($test); reset ($test);
while (list ($key, $value) = each ($test)){ while (list ($key, $value) = each ($test)){

View File

@ -40,6 +40,8 @@
$phpgw_setup->db->query("DROP TABLE languages"); $phpgw_setup->db->query("DROP TABLE languages");
$phpgw_setup->db->query("drop sequence categories_cat_id_seq"); $phpgw_setup->db->query("drop sequence categories_cat_id_seq");
$phpgw_setup->db->query("DROP TABLE categories"); $phpgw_setup->db->query("DROP TABLE categories");
$phpgw_setup->db->query("drop sequence phpgw_categories_cat_id_seq");
$phpgw_setup->db->query("DROP TABLE phpgw_categories");
$phpgw_setup->db->query("DROP sequence notes_note_id_seq"); $phpgw_setup->db->query("DROP sequence notes_note_id_seq");
$phpgw_setup->db->query("DROP TABLE notes"); $phpgw_setup->db->query("DROP TABLE notes");
?> ?>

View File

@ -272,7 +272,7 @@
);"; );";
$phpgw_setup->db->query($sql); $phpgw_setup->db->query($sql);
$phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.8pre5"; $phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.9";
$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

@ -813,6 +813,12 @@
$phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.9pre1"; $phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.9pre1";
} }
$test[] = "0.9.9pre1";
function upgrade0_9_9pre1(){
global $phpgw_info, $phpgw_setup;
$phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.9";
}
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) {