summaryrefslogtreecommitdiff
path: root/plugins/kolab_addressbook
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2012-10-17 09:54:25 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2012-10-17 09:54:25 (GMT)
commit2d08c58e56ebe9c0dd8c55679c887714178ed994 (patch)
tree7a4c5210fbfa9cdf5638181539c0b13d1a2a8bed /plugins/kolab_addressbook
parent5be0b06fcbf61dacd493467b57041f808b04f1c7 (diff)
downloadroundcubemail-plugins-kolab-2d08c58e56ebe9c0dd8c55679c887714178ed994.tar.gz
Fix/prepare plugins to use out of Roundcube (where rcmail object doesn't exist)
Diffstat (limited to 'plugins/kolab_addressbook')
-rw-r--r--plugins/kolab_addressbook/kolab_addressbook.php2
-rw-r--r--plugins/kolab_addressbook/lib/kolab_addressbook_ui.php2
-rw-r--r--plugins/kolab_addressbook/lib/rcube_kolab_contacts.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/kolab_addressbook/kolab_addressbook.php b/plugins/kolab_addressbook/kolab_addressbook.php
index 2920ebd..3ec072e 100644
--- a/plugins/kolab_addressbook/kolab_addressbook.php
+++ b/plugins/kolab_addressbook/kolab_addressbook.php
@@ -48,7 +48,7 @@ class kolab_addressbook extends rcube_plugin
{
require_once(dirname(__FILE__) . '/lib/rcube_kolab_contacts.php');
- $this->rc = rcmail::get_instance();
+ $this->rc = rcube::get_instance();
// load required plugin
$this->require_plugin('libkolab');
diff --git a/plugins/kolab_addressbook/lib/kolab_addressbook_ui.php b/plugins/kolab_addressbook/lib/kolab_addressbook_ui.php
index 7418649..a98b6ce 100644
--- a/plugins/kolab_addressbook/lib/kolab_addressbook_ui.php
+++ b/plugins/kolab_addressbook/lib/kolab_addressbook_ui.php
@@ -32,7 +32,7 @@ class kolab_addressbook_ui
*/
public function __construct($plugin)
{
- $this->rc = rcmail::get_instance();
+ $this->rc = rcube::get_instance();
$this->plugin = $plugin;
$this->init_ui();
diff --git a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
index 11c46f3..1c17933 100644
--- a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
+++ b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
@@ -132,7 +132,7 @@ class rcube_kolab_contacts extends rcube_addressbook
}
}
- $this->action = rcmail::get_instance()->action;
+ $this->action = rcube::get_instance()->action;
}