forked from extern/egroupware
fix to get old alarms (saved before 1.2) working again
This commit is contained in:
parent
ade66bd533
commit
e644513233
@ -12,7 +12,7 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
$setup_info['calendar']['name'] = 'calendar';
|
$setup_info['calendar']['name'] = 'calendar';
|
||||||
$setup_info['calendar']['version'] = '1.2';
|
$setup_info['calendar']['version'] = '1.2.001';
|
||||||
$setup_info['calendar']['app_order'] = 3;
|
$setup_info['calendar']['app_order'] = 3;
|
||||||
$setup_info['calendar']['enable'] = 1;
|
$setup_info['calendar']['enable'] = 1;
|
||||||
|
|
||||||
|
@ -1498,4 +1498,13 @@
|
|||||||
|
|
||||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.2';
|
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.2';
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
||||||
|
$test[] = '1.2';
|
||||||
|
function calendar_upgrade1_2()
|
||||||
|
{
|
||||||
|
// get old alarms (saved before 1.2) working again
|
||||||
|
$GLOBALS['egw_setup']->db->query("UPDATE egw_async SET async_method ='calendar.bocalupdate.send_alarm' WHERE async_method ='calendar.bocalendar.send_alarm'",__LINE__,__FILE__);
|
||||||
|
|
||||||
|
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.2.001';
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user