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:
Ralf Becker 2011-03-23 08:12:29 +00:00
parent 20b769678f
commit 26a55d8c01

View File

@ -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);
}
}