mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 05:49:03 +01:00
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:
parent
30f48939b8
commit
cd7ae8c813
@ -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).')';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user