Skip to content

Commit

Permalink
fixup! enh(userstatus): add OOO automation and remove calendar automa…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
miaulalala committed Nov 27, 2023
1 parent e688c1d commit 9695095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/Service/AbsenceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function getAbsence(string $userId): ?Absence {
}
}

public function isInEffect(OutOfOfficeData $absence): bool {
public function isInEffect(IOutOfOfficeData $absence): bool {
$now = $this->timeFactory->getTime();
return $absence->getStartDate() <= $now && $absence->getEndDate() >= $now;
}
Expand Down

0 comments on commit 9695095

Please sign in to comment.