mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
removed not possible condition (private events are NOT returned by calendar_so::serach() for filter "showonlypublic", so no need to deal with them here
This commit is contained in:
parent
20b769678f
commit
26a55d8c01
@ -474,12 +474,6 @@ class calendar_bo
|
||||
}
|
||||
if ($is_private || (!$event['public'] && $filter == 'hideprivate'))
|
||||
{
|
||||
if($filter == 'showonlypublic')
|
||||
{
|
||||
unset($events[$id]);
|
||||
$this->total--;
|
||||
continue;
|
||||
}
|
||||
$this->clear_private_infos($events[$id],$users);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user