Trigger free-busy update when restoring a deleted event (#312)

This commit is contained in:
Thomas 2011-08-12 16:25:54 +02:00
parent be7424be59
commit e7021b5b69

View file

@ -443,7 +443,10 @@ class kolab_driver extends calendar_driver
public function restore_event($event)
{
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;