| @@ 58-64 (lines=7) @@ | ||
| 55 | ||
| 56 | $included_set = $calendar_response->getIncluded(); |
|
| 57 | ||
| 58 | foreach ($included_set as $unit_id => $set) { |
|
| 59 | if (isset($units[$unit_id]) || empty($units)) { |
|
| 60 | $calendar_response->removeFromMatched($included_set[$unit_id]['unit'], CalendarResponse::CONSTRAINT, $this); |
|
| 61 | ||
| 62 | $this->affected_units[$unit_id] = $included_set[$unit_id]['unit']; |
|
| 63 | } |
|
| 64 | } |
|
| 65 | } |
|
| 66 | } |
|
| 67 | ||
| @@ 67-73 (lines=7) @@ | ||
| 64 | ||
| 65 | $included_set = $calendar_response->getIncluded(); |
|
| 66 | ||
| 67 | foreach ($included_set as $unit_id => $set) { |
|
| 68 | if (isset($units[$unit_id]) || empty($units)) { |
|
| 69 | $calendar_response->removeFromMatched($included_set[$unit_id]['unit'], CalendarResponse::CONSTRAINT, $this); |
|
| 70 | ||
| 71 | $this->affected_units[$unit_id] = $included_set[$unit_id]['unit']; |
|
| 72 | } |
|
| 73 | } |
|
| 74 | } |
|
| 75 | } |
|
| 76 | ||