summaryrefslogtreecommitdiff
path: root/plugins/kolab_delegation
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-01-21 13:37:54 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-01-21 13:37:54 (GMT)
commitc5922cce6e60f28e98286f8ebc2d6a67cad77e6e (patch)
tree40fc9f5be48c8bbcf37bf9c1148d5927d9986aac /plugins/kolab_delegation
parentd44bd8eaa85dfe5036ee189ba3a05c7ff3f1c0c8 (diff)
downloadroundcubemail-plugins-kolab-c5922cce6e60f28e98286f8ebc2d6a67cad77e6e.tar.gz
Don't call deprecated get_realname() method as it doesn't exist for invitation calendars (#4303)
Diffstat (limited to 'plugins/kolab_delegation')
-rw-r--r--plugins/kolab_delegation/kolab_delegation_engine.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/kolab_delegation/kolab_delegation_engine.php b/plugins/kolab_delegation/kolab_delegation_engine.php
index 52dec8c..ca4d5b4 100644
--- a/plugins/kolab_delegation/kolab_delegation_engine.php
+++ b/plugins/kolab_delegation/kolab_delegation_engine.php
@@ -792,7 +792,6 @@ class kolab_delegation_engine
}
if ($args['personal']) {
$ns = $cal->get_namespace();
- $name = $cal->get_realname(); // UTF-7 IMAP folder name
if (empty($context)) {
if ($ns != 'personal') {
@@ -806,7 +805,7 @@ class kolab_delegation_engine
foreach ($other_ns as $ns) {
$folder = $ns[0] . $context . $delim;
- if (strpos($name, $folder) !== 0) {
+ if (strpos($cal->name, $folder) !== 0) {
continue;
}
}