forked from extern/egroupware
fixed wrong date for Fronleichnam 2016 for existing instances via DB update script
This commit is contained in:
parent
f1bbdb4e8d
commit
0a09f08d72
@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
$setup_info['calendar']['name'] = 'calendar';
|
||||
$setup_info['calendar']['version'] = '14.2.002';
|
||||
$setup_info['calendar']['version'] = '14.2.003';
|
||||
$setup_info['calendar']['app_order'] = 3;
|
||||
$setup_info['calendar']['enable'] = 1;
|
||||
$setup_info['calendar']['index'] = 'calendar.calendar_uiviews.index';
|
||||
|
@ -2423,4 +2423,23 @@ WHERE recur_type=5 AND cal.range_end IS NOT NULL AND ABS(cal.cal_modified-$value
|
||||
}
|
||||
}
|
||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '14.2.002';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Fix wrong date for 2016 DE holiday Fronleichnam
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function calendar_upgrade14_2_002()
|
||||
{
|
||||
$GLOBALS['egw_setup']->db->update('egw_cal_holidays', array(
|
||||
'hol_mday' => 26,
|
||||
'hol_month_num' => 5
|
||||
), array(
|
||||
'hol_locale' => 'DE',
|
||||
'hol_name' => 'Fronleichnam',
|
||||
'hol_occurence' => 2016,
|
||||
), __LINE__, __FILE__, 'calendar');
|
||||
|
||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '14.2.003';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user