Trigger free-busy update when restoring a deleted event (#312)
This commit is contained in:
parent
be7424be59
commit
e7021b5b69
1 changed files with 4 additions and 1 deletions
|
@ -443,7 +443,10 @@ class kolab_driver extends calendar_driver
|
||||||
public function restore_event($event)
|
public function restore_event($event)
|
||||||
{
|
{
|
||||||
if ($storage = $this->calendars[$event['calendar']]) {
|
if ($storage = $this->calendars[$event['calendar']]) {
|
||||||
return $storage->restore_event($event);
|
if ($success = $storage->restore_event($event))
|
||||||
|
$this->rc->output->command('plugin.ping_url', array('action' => 'calendar/push-freebusy', 'source' => $storage->id));
|
||||||
|
|
||||||
|
return $success;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue