summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-10-15 08:31:52 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-10-15 08:32:37 (GMT)
commit79b6799a58b6b8945ab1e1de0a0a509910b3ee4d (patch)
tree2f7c40b5af8631cef2d6af391647d42aadb3a532 /plugins
parenteef0a950680aa1a498134ee165e203a1a88eb1cc (diff)
downloadroundcubemail-plugins-kolab-79b6799a58b6b8945ab1e1de0a0a509910b3ee4d.tar.gz
Limit virtual folder tree to task/calendar main views
Diffstat (limited to 'plugins')
-rw-r--r--plugins/calendar/drivers/kolab/kolab_driver.php2
-rw-r--r--plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/calendar/drivers/kolab/kolab_driver.php b/plugins/calendar/drivers/kolab/kolab_driver.php
index 3df498d..cffe6b1 100644
--- a/plugins/calendar/drivers/kolab/kolab_driver.php
+++ b/plugins/calendar/drivers/kolab/kolab_driver.php
@@ -109,7 +109,7 @@ class kolab_driver extends calendar_driver
$calendars = $names = array();
// include virtual folders for a full folder tree
- if (!$active && !$personal && !$this->rc->output->ajax_call)
+ if (!$active && !$personal && !$this->rc->output->ajax_call && in_array($this->rc->action, array('index','')))
$folders = $this->_folder_hierarchy($folders, $this->rc->get_storage()->get_hierarchy_delimiter());
foreach ($folders as $id => $cal) {
diff --git a/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php b/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
index 3c6690a..787ced4 100644
--- a/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
+++ b/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
@@ -84,7 +84,7 @@ class tasklist_kolab_driver extends tasklist_driver
$listnames = array();
// include virtual folders for a full folder tree
- if (!$this->rc->output->ajax_call)
+ if (!$this->rc->output->ajax_call && in_array($this->rc->action, array('index','')))
$folders = $this->_folder_hierarchy($folders, $delim);
foreach ($folders as $folder) {