forked from extern/egroupware
Calendar: Fix some cases where a changed participant status would not remove the event when it should
This commit is contained in:
parent
7557153226
commit
fc296f3ed1
@ -11,10 +11,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
use EGroupware\Api;
|
use EGroupware\Api;
|
||||||
use EGroupware\Api\Framework;
|
|
||||||
use EGroupware\Api\Egw;
|
|
||||||
use EGroupware\Api\Acl;
|
use EGroupware\Api\Acl;
|
||||||
|
use EGroupware\Api\Egw;
|
||||||
use EGroupware\Api\Etemplate;
|
use EGroupware\Api\Etemplate;
|
||||||
|
use EGroupware\Api\Framework;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shared base-class of all calendar UserInterface classes
|
* Shared base-class of all calendar UserInterface classes
|
||||||
@ -667,7 +667,12 @@ class calendar_ui
|
|||||||
if(!$event || !$filter_match)
|
if(!$event || !$filter_match)
|
||||||
{
|
{
|
||||||
// Sending null will trigger a removal
|
// Sending null will trigger a removal
|
||||||
$response->generic('data', array('uid' => 'calendar::'.$event_id, 'data' => null));
|
$uid = 'calendar::' . $event_id;
|
||||||
|
if ($recurrence_date)
|
||||||
|
{
|
||||||
|
$uid .= ':' . $recurrence_date->getTimestamp();
|
||||||
|
}
|
||||||
|
$response->generic('data', array('uid' => $uid, 'data' => null));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user