mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 07:28:43 +01:00
fixed not created "calendar_purge" job, if 0.5 years is selected
This commit is contained in:
parent
39080d50f8
commit
18a524bd3e
@ -666,7 +666,7 @@ function calendar_purge_old($config)
|
|||||||
// Cancel old purge
|
// Cancel old purge
|
||||||
ExecMethod('phpgwapi.asyncservice.cancel_timer', $id);
|
ExecMethod('phpgwapi.asyncservice.cancel_timer', $id);
|
||||||
|
|
||||||
if((int)$config > 0)
|
if((float)$config > 0)
|
||||||
{
|
{
|
||||||
$result = ExecMethod2('phpgwapi.asyncservice.set_timer',
|
$result = ExecMethod2('phpgwapi.asyncservice.set_timer',
|
||||||
array('month' => '*', 'day' => 1),
|
array('month' => '*', 'day' => 1),
|
||||||
|
Loading…
Reference in New Issue
Block a user