From e186fb7d95132d73112bc6632b63b576115aa1d7 Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 27 Nov 2024 18:41:27 +1100 Subject: [PATCH] Fix removing dontCache(), since we removed caching from Address --- app/Jobs/MailSend.php | 1 - app/Models/Echomail.php | 1 - 2 files changed, 2 deletions(-) diff --git a/app/Jobs/MailSend.php b/app/Jobs/MailSend.php index f5504a4..7886d78 100644 --- a/app/Jobs/MailSend.php +++ b/app/Jobs/MailSend.php @@ -50,7 +50,6 @@ class MailSend #implements ShouldQueue ->join('domains',['domains.id'=>'zones.domain_id']) ->groupBy('a.system_id','a.id','a.zone_id','addresses.region_id','a.host_id','a.node_id','a.point_id','addresses.hub_id','addresses.role') ->with(['system','zone.domain']) - ->dontCache() ->get(); // Return the system we poll diff --git a/app/Models/Echomail.php b/app/Models/Echomail.php index edff859..d0c7768 100644 --- a/app/Models/Echomail.php +++ b/app/Models/Echomail.php @@ -291,7 +291,6 @@ final class Echomail extends Model implements Packet return $this->belongsToMany(Address::class,'echomail_seenby') ->select(['addresses.id','zone_id','host_id','node_id']) ->withPivot(['export_at','sent_at','sent_pkt']) - ->dontCache() ->FTN2DOrder(); }