forked from extern/egroupware
* Infolog: add update script to recover any InfoLogs hidden because of missing status
This commit is contained in:
parent
1c1dea3d5e
commit
947bbf4f17
@ -12,7 +12,7 @@
|
||||
*/
|
||||
|
||||
$setup_info['infolog']['name'] = 'infolog';
|
||||
$setup_info['infolog']['version'] = '14.1';
|
||||
$setup_info['infolog']['version'] = '14.2';
|
||||
$setup_info['infolog']['app_order'] = 5;
|
||||
$setup_info['infolog']['tables'] = array('egw_infolog','egw_infolog_extra');
|
||||
$setup_info['infolog']['enable'] = 1;
|
||||
|
@ -742,3 +742,11 @@ function infolog_upgrade1_9_006()
|
||||
{
|
||||
return $GLOBALS['setup_info']['infolog']['currentver'] = '14.1';
|
||||
}
|
||||
|
||||
function infolog_upgrade14_1()
|
||||
{
|
||||
// Restore any hiding infologs
|
||||
$GLOBALS['egw_setup']->db->query('UPDATE egw_infolog SET info_status = "not-started" WHERE info_status is null;', __LINE__, __FILE__);
|
||||
return $GLOBALS['setup_info']['infolog']['currentver'] = '14.2';
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user