From f9163efd5ea0c729ee95f718a29a3dd173c64971 Mon Sep 17 00:00:00 2001 From: erikn69 Date: Thu, 26 Mar 2026 09:08:27 -0500 Subject: [PATCH] Resuse isAuditingEnabled() method --- src/Auditable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auditable.php b/src/Auditable.php index 9c35c40f..7104ed70 100644 --- a/src/Auditable.php +++ b/src/Auditable.php @@ -255,7 +255,7 @@ protected function getRestoredEventAttributes(): array */ public function readyForAuditing(): bool { - if (static::$auditingDisabled || Models\Audit::$auditingGloballyDisabled) { + if ($this->isAuditingDisabled()) { return false; }