Don't return scheduling inbox/outbox in Depth 1 propfind on principal.

This commit is contained in:
Andrew McMillan 2009-09-25 22:14:45 +12:00
parent 30a532c81f
commit f2bb76091a

View File

@ -615,6 +615,7 @@ function get_collection_contents( $depth, $user_no, $collection ) {
$sql .= 'collection_id ';
$sql .= 'FROM collection ';
$sql .= 'WHERE parent_container='.qpg($collection->dav_name);
$sql .= "AND NOT dav_name ~ '/\.(in|out)/$'";
$sql .= ' ORDER BY collection_id';
}
$qry = new PgQuery($sql, PgQuery::Plain(iCalendar::HttpDateFormat()), PgQuery::Plain(iCalendar::HttpDateFormat()));