From 001718ee2b81d4a6454fb2a7bfbe5696313fb716 Mon Sep 17 00:00:00 2001 From: Toby Twigger Date: Wed, 5 Jul 2023 14:04:38 +0100 Subject: [PATCH] Fix --- src/Concerns/Trackable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Concerns/Trackable.php b/src/Concerns/Trackable.php index e190dd1..fac7a83 100644 --- a/src/Concerns/Trackable.php +++ b/src/Concerns/Trackable.php @@ -25,7 +25,7 @@ public function withoutTracking(bool $shouldTrack = false): void public function shouldTrack(): bool { - return $this->shouldTrack; + return $this->shouldTrack && config('laravel-job-status.enabled', true); } public static function search(array $tags = []): Builder