forked from extern/egroupware
Calendar - add a update to handle old 'resources' preference
This commit is contained in:
parent
211a8e5251
commit
5e2202788a
@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
$setup_info['calendar']['name'] = 'calendar';
|
||||
$setup_info['calendar']['version'] = '17.1.001';
|
||||
$setup_info['calendar']['version'] = '17.1.002';
|
||||
$setup_info['calendar']['app_order'] = 3;
|
||||
$setup_info['calendar']['enable'] = 1;
|
||||
$setup_info['calendar']['index'] = 'calendar.calendar_uiviews.index&ajax=true';
|
||||
|
@ -2764,4 +2764,11 @@ function calendar_upgrade17_1()
|
||||
};
|
||||
Api\Preferences::change_preference('calendar', 'birthdays_as_events', $change);
|
||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '17.1.001';
|
||||
}
|
||||
|
||||
function calendar_upgrade17_1_001()
|
||||
{
|
||||
// Update resources preference
|
||||
Api\Preferences::change_preference('calendar', 'defaultresource_sel', 'resources_conflict', 'resources');
|
||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '17.1.002';
|
||||
}
|
Loading…
Reference in New Issue
Block a user