Performance: Skip delegators list generation on every calendar refresh action

This commit is contained in:
Aleksander Machniak 2015-08-05 05:06:36 -04:00
parent c3d096d104
commit a9422ea11c

View file

@ -80,9 +80,11 @@ class kolab_delegation extends rcube_plugin
}
// Calendar plugin UI bindings
else if ($this->rc->task == 'calendar' && empty($_REQUEST['_framed'])) {
if ($this->rc->output->type == 'html') {
$this->calendar_ui();
}
}
}
/**
* Adds Delegation section in Settings