summaryrefslogtreecommitdiff
path: root/plugins/kolab_zpush/kolab_zpush_ui.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kolab_zpush/kolab_zpush_ui.php')
-rw-r--r--plugins/kolab_zpush/kolab_zpush_ui.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/kolab_zpush/kolab_zpush_ui.php b/plugins/kolab_zpush/kolab_zpush_ui.php
index 4c99cf7..3d2fbcc 100644
--- a/plugins/kolab_zpush/kolab_zpush_ui.php
+++ b/plugins/kolab_zpush/kolab_zpush_ui.php
@@ -30,7 +30,7 @@ class kolab_zpush_ui
public function __construct($config)
{
$this->config = $config;
- $this->rc = rcmail::get_instance();
+ $this->rc = rcube::get_instance();
$skin = $this->rc->config->get('skin');
$this->config->include_stylesheet('skins/' . $skin . '/config.css');
@@ -146,8 +146,8 @@ class kolab_zpush_ui
$classes = array('mailbox');
- if ($folder_class = rcmail_folder_classname($folder)) {
- $foldername = rcube_label($folder_class);
+ if ($folder_class = $this->rc->folder_classname($folder)) {
+ $foldername = $this->rc->gettext($folder_class);
$classes[] = $folder_class;
}