mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 20:49:08 +01:00
Added the access column back into phpgw_addressbook
This commit is contained in:
parent
597232c14d
commit
12e24d7284
@ -108,7 +108,7 @@
|
||||
lid varchar(32),
|
||||
tid char(1),
|
||||
owner int(8),
|
||||
|
||||
access char(7),
|
||||
fn varchar(64),
|
||||
n_family varchar(64),
|
||||
n_given varchar(64),
|
||||
@ -343,7 +343,7 @@
|
||||
)";
|
||||
$phpgw_setup->db->query($sql);
|
||||
|
||||
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre19';
|
||||
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre21';
|
||||
$phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi'];
|
||||
update_version_table();
|
||||
// $phpgw_setup->update_version_table();
|
||||
|
@ -1352,6 +1352,18 @@
|
||||
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre20';
|
||||
}
|
||||
|
||||
$test[] = '0.9.10pre20';
|
||||
function upgrade0_9_10pre20()
|
||||
{
|
||||
global $phpgw_info, $phpgw_setup;
|
||||
|
||||
$phpgw_setup->db->query("alter table phpgw_addressbook add column access char(7) after owner",__LINE__,__FILE__);
|
||||
|
||||
$phpgw_setup->db->query($sql);
|
||||
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre21';
|
||||
}
|
||||
|
||||
|
||||
reset ($test);
|
||||
while (list ($key, $value) = each ($test)){
|
||||
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {
|
||||
|
@ -106,6 +106,7 @@
|
||||
lid varchar(32),
|
||||
tid varchar(1),
|
||||
owner int,
|
||||
access char(7),
|
||||
fn varchar(64),
|
||||
n_family varchar(64),
|
||||
n_given varchar(64),
|
||||
@ -310,7 +311,7 @@
|
||||
)";
|
||||
$phpgw_setup->db->query($sql);
|
||||
|
||||
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre19';
|
||||
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre21';
|
||||
$phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi'];
|
||||
update_version_table();
|
||||
?>
|
||||
|
@ -11,5 +11,5 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_info["server"]["versions"]["phpgwapi"] = "0.9.10pre20";
|
||||
$phpgw_info["server"]["versions"]["phpgwapi"] = "0.9.10pre21";
|
||||
$phpgw_info["server"]["versions"]["current_header"] = "1.11";
|
||||
|
Loading…
Reference in New Issue
Block a user