From 9695095b303c16ad3417c99973c10cf4aec04173 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Mon, 27 Nov 2023 17:14:17 +0100 Subject: [PATCH] fixup! enh(userstatus): add OOO automation and remove calendar automation --- apps/dav/lib/Service/AbsenceService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/Service/AbsenceService.php b/apps/dav/lib/Service/AbsenceService.php index 3deff1d469860..6b43ed1cc3fa9 100644 --- a/apps/dav/lib/Service/AbsenceService.php +++ b/apps/dav/lib/Service/AbsenceService.php @@ -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; }