Update tid field contents to 'n' in phpgw_addressbook

This commit is contained in:
Miles Lott 2001-03-27 10:34:11 +00:00
parent 6722719db9
commit 130d7411b0
5 changed files with 24 additions and 3 deletions

View File

@ -345,7 +345,7 @@
)";
$phpgw_setup->db->query($sql);
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre23';
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre24';
$phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi'];
update_version_table();
// $phpgw_setup->update_version_table();

View File

@ -1385,6 +1385,16 @@
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre23';
}
$test[] = '0.9.10pre23';
function upgrade0_9_10pre23()
{
global $phpgw_info, $phpgw_setup;
$phpgw_setup->db->query("UPDATE phpgw_addressbook SET tid='n' WHERE tid is null",__LINE__,__FILE__);
$phpgw_setup->db->query($sql);
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre24';
}
reset ($test);
while (list ($key, $value) = each ($test)){

View File

@ -313,7 +313,7 @@
)";
$phpgw_setup->db->query($sql);
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre23';
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre24';
$phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi'];
update_version_table();
?>

View File

@ -1743,6 +1743,17 @@
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre23';
}
$test[] = '0.9.10pre23';
function upgrade0_9_10pre23()
{
global $phpgw_info, $phpgw_setup;
$phpgw_setup->db->query("UPDATE phpgw_addressbook SET tid='n' WHERE tid is null",__LINE__,__FILE__);
$phpgw_setup->db->query($sql);
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre24';
}
reset ($test);
while (list ($key, $value) = each ($test)){
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {

View File

@ -11,5 +11,5 @@
/* $Id$ */
$phpgw_info["server"]["versions"]["phpgwapi"] = "0.9.10pre23";
$phpgw_info["server"]["versions"]["phpgwapi"] = "0.9.10pre24";
$phpgw_info["server"]["versions"]["current_header"] = "1.11";