summaryrefslogtreecommitdiff
path: root/plugins/calendar/drivers
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-10-14 16:20:15 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-10-14 16:20:15 (GMT)
commit3c8ac6f38c9a18fa8f532d7dabf53a1af965eb04 (patch)
tree3d32e62e95f56c209c60f7c3a79e3bcd23574864 /plugins/calendar/drivers
parentfbe1759c00984d4c5a99928b6a26216150ed4a2a (diff)
downloadroundcubemail-plugins-kolab-oracle.tar.gz
dirname(__FILE__) -> __DIR__oracle
Diffstat (limited to 'plugins/calendar/drivers')
-rw-r--r--plugins/calendar/drivers/kolab/kolab_driver.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/calendar/drivers/kolab/kolab_driver.php b/plugins/calendar/drivers/kolab/kolab_driver.php
index 938bcee..2f41b21 100644
--- a/plugins/calendar/drivers/kolab/kolab_driver.php
+++ b/plugins/calendar/drivers/kolab/kolab_driver.php
@@ -52,17 +52,17 @@ class kolab_driver extends calendar_driver
$cal->require_plugin('libkolab');
// load helper classes *after* libkolab has been loaded (#3248)
- require_once(dirname(__FILE__) . '/kolab_calendar.php');
- require_once(dirname(__FILE__) . '/kolab_user_calendar.php');
- require_once(dirname(__FILE__) . '/kolab_invitation_calendar.php');
+ require_once __DIR__ . '/kolab_calendar.php';
+ require_once __DIR__ . '/kolab_user_calendar.php';
+ require_once __DIR__ . '/kolab_invitation_calendar.php';
$this->cal = $cal;
$this->rc = $cal->rc;
$this->_read_calendars();
-
+
$this->cal->register_action('push-freebusy', array($this, 'push_freebusy'));
$this->cal->register_action('calendar-acl', array($this, 'calendar_acl'));
-
+
$this->freebusy_trigger = $this->rc->config->get('calendar_freebusy_trigger', false);
if (kolab_storage::$version == '2.0') {