Remove search for calendar events where the selected users are owner.

In 1.6, this results in all events being shown for which the selected user is
the owner (but not participant).
In trunk, this can be filtered out by the new filter feature.
This code seems to have sneaked in during a syncml backport.
This commit is contained in:
Hans-Jürgen Tappe 2010-03-14 15:54:03 +00:00
parent 30f48939b8
commit cd7ae8c813

View File

@ -370,11 +370,6 @@ class calendar_so
'cal_user_type' => $type,
'cal_user_id' => $ids,
));
if ($type == 'u' && $show_rejected)
{
$cal_table_def = $this->db->get_table_definitions('calendar',$this->cal_table);
$to_or[] = $this->db->expression($cal_table_def,array('cal_owner' => $ids));
}
}
$where[] = '('.implode(' OR ',$to_or).')';