mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Temp fix for setup .. it doesn't like the change from applications to phpgw_applications
This commit is contained in:
parent
f0bafc4987
commit
53d641bd9a
@ -207,8 +207,18 @@
|
||||
return 4;
|
||||
}
|
||||
}else{
|
||||
$phpgw_info["setup"]["header_msg"] = "Stage 1 (Tables appear to be pre-beta)";
|
||||
return 2;
|
||||
$this->db->query("select * from applications");
|
||||
while (@$this->db->next_record()) {
|
||||
if ($this->db->f("app_name") == "admin"){$phpgw_info["setup"]["oldver"]["phpgwapi"] = $this->db->f("app_version");}
|
||||
$phpgw_info["setup"]["oldver"][$this->db->f("app_name")] = $this->db->f("app_version");
|
||||
$phpgw_info["setup"][$this->db->f("app_name")]["title"] = $this->db->f("app_title");
|
||||
}
|
||||
if ($phpgw_info["setup"]["oldver"]["phpgwapi"] != $phpgw_info["server"]["versions"]["phpgwapi"]){
|
||||
return 4;
|
||||
} else {
|
||||
$phpgw_info["setup"]["header_msg"] = "Stage 1 (Tables appear to be pre-beta)";
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
/* no tables, so checking if we can create them */
|
||||
|
Loading…
Reference in New Issue
Block a user