summaryrefslogtreecommitdiff
path: root/plugins/tasklist
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-12-16 13:12:21 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-12-16 13:12:21 (GMT)
commit0e0f1443a6f7ca4ea66cd079bdcd75b11d39a94f (patch)
tree011d8584bc23a92820d1ca6ac6251d94e81f23c9 /plugins/tasklist
parentfd7440bfc57c48d47c44aa6668b5e1a665e90ec9 (diff)
downloadroundcubemail-plugins-kolab-0e0f1443a6f7ca4ea66cd079bdcd75b11d39a94f.tar.gz
Replace check for js file with check if libkolab plugin is loaded (#4114)
Diffstat (limited to 'plugins/tasklist')
-rw-r--r--plugins/tasklist/tasklist_ui.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/tasklist/tasklist_ui.php b/plugins/tasklist/tasklist_ui.php
index 3258418..922f295 100644
--- a/plugins/tasklist/tasklist_ui.php
+++ b/plugins/tasklist/tasklist_ui.php
@@ -156,7 +156,7 @@ class tasklist_ui
$this->rc->output->include_script('treelist.js');
// include kolab folderlist widget if available
- if (is_readable($this->plugin->api->dir . 'libkolab/js/folderlist.js')) {
+ if (in_array('libkolab', $this->plugin->api->loaded_plugins())) {
$this->plugin->api->include_script('libkolab/js/folderlist.js');
}