mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
fixed wrong date for Fronleichnam 2016 for existing instances via DB update script
This commit is contained in:
parent
8b3bf69e55
commit
810c201018
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$setup_info['calendar']['name'] = 'calendar';
|
$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']['app_order'] = 3;
|
||||||
$setup_info['calendar']['enable'] = 1;
|
$setup_info['calendar']['enable'] = 1;
|
||||||
$setup_info['calendar']['index'] = 'calendar.calendar_uiviews.index&ajax=true';
|
$setup_info['calendar']['index'] = 'calendar.calendar_uiviews.index&ajax=true';
|
||||||
|
@ -2424,3 +2424,22 @@ 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';
|
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