Don't call deprecated get_realname() method as it doesn't exist for invitation calendars (#4303)
This commit is contained in:
parent
d44bd8eaa8
commit
c5922cce6e
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue