Performance: Skip delegators list generation on every calendar refresh action
This commit is contained in:
parent
c3d096d104
commit
a9422ea11c
1 changed files with 3 additions and 1 deletions
|
@ -80,9 +80,11 @@ class kolab_delegation extends rcube_plugin
|
||||||
}
|
}
|
||||||
// Calendar plugin UI bindings
|
// Calendar plugin UI bindings
|
||||||
else if ($this->rc->task == 'calendar' && empty($_REQUEST['_framed'])) {
|
else if ($this->rc->task == 'calendar' && empty($_REQUEST['_framed'])) {
|
||||||
|
if ($this->rc->output->type == 'html') {
|
||||||
$this->calendar_ui();
|
$this->calendar_ui();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds Delegation section in Settings
|
* Adds Delegation section in Settings
|
||||||
|
|
Loading…
Add table
Reference in a new issue