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:
Ralf Becker 2004-02-23 13:24:13 +00:00
parent b4970a5f65
commit 907f3575ce

View File

@ -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' => ''
);
}
}
?> ?>