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 f7293f555b
commit 1f75e936e5

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