From 394144d2638eaf9c5f75f90d6a96dbb410528d33 Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 28 Jun 2024 15:36:48 +1000 Subject: [PATCH] More removed references to deprecated getDateAttribute() --- app/Jobs/MessageProcess.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Jobs/MessageProcess.php b/app/Jobs/MessageProcess.php index 37342cc..66bfeb9 100644 --- a/app/Jobs/MessageProcess.php +++ b/app/Jobs/MessageProcess.php @@ -228,8 +228,8 @@ class MessageProcess implements ShouldQueue if ($this->mo->msgid) { $o = Echomail::where('msgid',$this->mo->msgid) ->where('fftn_id',$this->mo->fftn->id) - ->where('datetime','>=',$this->mo->date->subYears(3)) - ->where('datetime','<=',$this->mo->date) + ->where('datetime','>=',$this->mo->datetime->subYears(3)) + ->where('datetime','<=',$this->mo->datetime) ->single(); Log::debug(sprintf('%s:- Checking for duplicate from host id [%d].',self::LOGKEY,$this->mo->fftn->id));