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 b8995a9 commit 771bb6d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kronolith/lib/Event.php
Expand Up @@ -1423,8 +1423,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 771bb6d

Please sign in to comment.