forked from extern/egroupware
Add upgrade script to recover any hiding infogs that are missing status
This commit is contained in:
parent
1f65eee3fc
commit
cbae778539
@ -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