Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Twigger committed Jul 5, 2023
1 parent be61bf8 commit 001718e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/Trackable.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 001718e

Please sign in to comment.