aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-09-18 18:51:00 +0200
committerRobin Appelman <robin@icewind.nl>2024-09-18 19:24:44 +0200
commitb45f2420fef03774991c21eb3a6085d66723eb71 (patch)
tree6431fa8a21ca37857fb10db869eacd514f25270a /apps/files_sharing
parent33928fc671b8ae80c809dcf2f0353c432776979d (diff)
downloadnextcloud-server-b45f2420fef03774991c21eb3a6085d66723eb71.tar.gz
nextcloud-server-b45f2420fef03774991c21eb3a6085d66723eb71.zip
fix: fix share reminder job for oracleoracle-share-reminder
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/SharesReminderJob.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/SharesReminderJob.php b/apps/files_sharing/lib/SharesReminderJob.php
index 9682f7fc770..6780ee77fe3 100644
--- a/apps/files_sharing/lib/SharesReminderJob.php
+++ b/apps/files_sharing/lib/SharesReminderJob.php
@@ -89,8 +89,8 @@ class SharesReminderJob extends TimedJob {
$qb->expr()->eq('s.share_type', $qb->expr()->literal(IShare::TYPE_EMAIL))
),
$qb->expr()->eq('s.item_type', $qb->expr()->literal('folder')),
- $qb->expr()->gte('s.expiration', $qb->createNamedParameter($minDate->format('Y-m-d H:i:s'))),
- $qb->expr()->lt('s.expiration', $qb->createNamedParameter($maxDate->format('Y-m-d H:i:s'))),
+ $qb->expr()->gte('s.expiration', $qb->createNamedParameter($minDate, IQueryBuilder::PARAM_DATE)),
+ $qb->expr()->lte('s.expiration', $qb->createNamedParameter($maxDate, IQueryBuilder::PARAM_DATE)),
$qb->expr()->eq('s.reminder_sent', $qb->createNamedParameter(
false, IQueryBuilder::PARAM_BOOL
)),