Don't bind to 'save-pref' action for better performance
This commit is contained in:
parent
1b5ea4983d
commit
3f9aedc3f3
1 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ class calendar extends rcube_plugin
|
|||
$this->include_stylesheet('skins/' . $skin . '/calendar.css');
|
||||
}
|
||||
|
||||
if ($this->rc->task == 'calendar') {
|
||||
if ($this->rc->task == 'calendar' && $this->rc->action != 'save-pref') {
|
||||
$this->load_driver();
|
||||
|
||||
// load iCalendar functions
|
||||
|
|
Loading…
Add table
Reference in a new issue