More removed references to deprecated getDateAttribute()
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 37s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m44s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s

This commit is contained in:
Deon George 2024-06-28 15:36:48 +10:00
parent d25dae2427
commit 394144d263

View File

@ -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));