mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 21:01:30 +02:00
fix another missing table definition for an old phpgw_* table
This commit is contained in:
parent
3eb3b14a7b
commit
4dc6d41846
@ -642,15 +642,16 @@
|
|||||||
}
|
}
|
||||||
$last_row = $row;
|
$last_row = $row;
|
||||||
}
|
}
|
||||||
|
$table_def = $GLOBALS['egw_setup']->oProc->GetTableDefinition('phpgw_lang');
|
||||||
foreach ($to_delete as $row)
|
foreach ($to_delete as $row)
|
||||||
{
|
{
|
||||||
$GLOBALS['egw_setup']->db->delete('phpgw_lang',$row,__LINE__,__FILE__);
|
$GLOBALS['egw_setup']->db->delete('phpgw_lang',$row,__LINE__,__FILE__,False,$table_def);
|
||||||
}
|
}
|
||||||
foreach ($to_truncate as $row)
|
foreach ($to_truncate as $row)
|
||||||
{
|
{
|
||||||
$where = $row;
|
$where = $row;
|
||||||
$row['message_id'] = substr($row['message_id'],0,128);
|
$row['message_id'] = substr($row['message_id'],0,128);
|
||||||
$GLOBALS['egw_setup']->db->update('phpgw_lang',$row,$where,__LINE__,__FILE__,'phpgwapi');
|
$GLOBALS['egw_setup']->db->update('phpgw_lang',$row,$where,__LINE__,__FILE__,'phpgwapi',False,$table_def);
|
||||||
}
|
}
|
||||||
$GLOBALS['egw_setup']->oProc->AlterColumn('phpgw_lang','app_name',array(
|
$GLOBALS['egw_setup']->oProc->AlterColumn('phpgw_lang','app_name',array(
|
||||||
'type' => 'varchar',
|
'type' => 'varchar',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user