Skip to content

Commit

Permalink
No need to further limit the search range.
Browse files Browse the repository at this point in the history
baseid should be sufficient. Also this would not find exceptions that are
outside of the original recurrence range, which is perfectly possible.
  • Loading branch information
yunosh committed Mar 17, 2015
1 parent ec9b175 commit 07257b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kronolith/lib/Event.php
Expand Up @@ -1430,8 +1430,6 @@ protected function _handlevEventRecurrence($vEvent)
if (!empty($this->uid)) {
$kronolith_driver = Kronolith::getDriver(null, $this->calendar);
$search = new StdClass();
$search->start = $this->recurrence->getRecurStart();
$search->end = $this->recurrence->getRecurEnd();
$search->baseid = $this->uid;
$results = $kronolith_driver->search($search);
foreach ($results as $days) {
Expand Down

0 comments on commit 07257b8

Please sign in to comment.