forked from extern/egroupware
removed the old mysql < 3.22 case, as the fix is not loger valid and gives probs with ADOdb (no mysql connection)
This commit is contained in:
parent
b4970a5f65
commit
907f3575ce
@ -370,21 +370,4 @@
|
|||||||
'uc' => array()
|
'uc' => array()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Try to fix this unfortunate case for mysql 3.22.X in php4 at least */
|
|
||||||
if(phpversion() >= '4.0.5' && @$GLOBALS['phpgw_setup']->db->Type == 'mysql')
|
|
||||||
{
|
|
||||||
$_ver_str = @mysql_get_server_info();
|
|
||||||
$_ver_arr = explode(".",$_ver_str);
|
|
||||||
$_ver = $_ver_arr[1];
|
|
||||||
if((int)$_ver < 23)
|
|
||||||
{
|
|
||||||
$phpgw_baseline['lang']['fd']['message_id'] = array(
|
|
||||||
'type' => 'varchar',
|
|
||||||
'precision' => 150,
|
|
||||||
'nullable' => false,
|
|
||||||
'default' => ''
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user