summaryrefslogtreecommitdiff
path: root/lib/Kolab/CalDAV/CalendarBackend.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-02-28 16:10:03 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-02-28 16:10:03 (GMT)
commit696f145081c4b5a884b98c97f9837076ed195354 (patch)
tree996554026594006889656aae66fd08ca2e03827e /lib/Kolab/CalDAV/CalendarBackend.php
parent38b8c95a29cd058bae006eb4b2168f23287be898 (diff)
downloadiRony-696f145081c4b5a884b98c97f9837076ed195354.tar.gz
Advertise ACLs for calendars according to IMAP rights
Diffstat (limited to 'lib/Kolab/CalDAV/CalendarBackend.php')
-rw-r--r--lib/Kolab/CalDAV/CalendarBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kolab/CalDAV/CalendarBackend.php b/lib/Kolab/CalDAV/CalendarBackend.php
index 0a979ad..001dc2c 100644
--- a/lib/Kolab/CalDAV/CalendarBackend.php
+++ b/lib/Kolab/CalDAV/CalendarBackend.php
@@ -108,7 +108,7 @@ class CalendarBackend extends CalDAV\Backend\AbstractBackend
// color is defined in folder METADATA
$metadata = $folder->get_metadata(array(kolab_storage::COLOR_KEY_PRIVATE, kolab_storage::COLOR_KEY_SHARED));
if (($color = $metadata[kolab_storage::COLOR_KEY_PRIVATE]) || ($color = $metadata[kolab_storage::COLOR_KEY_SHARED])) {
- return $color;
+ return '#' . $color;
}
return '';