User Calendar CalDAV directory contains only 'not rejected' entries

This commit is contained in:
Jörg Lehrke 2010-05-01 16:24:05 +00:00
parent 6865fad5c7
commit df6e3195e4

View File

@ -114,7 +114,14 @@ class calendar_groupdav extends groupdav_handler
'date_format' => 'server',
);
if ($path == '/calendar/') $filter['filter'] = 'owner';
if ($path == '/calendar/')
{
$filter['filter'] = 'owner';
}
else
{
$filter['filter'] = 'default'; // not rejected
}
// process REPORT filters or multiget href's
if (($id || $options['root']['name'] != 'propfind') && !$this->_report_filters($options,$filter,$id))