Skip to content

Commit 9968d31

Browse files
authored
Merge pull request #4452 from Roardom/remove-dead-code
(Refactor) Remove dead code in auto deactivate warning command
2 parents 29aa03b + 7bbd472 commit 9968d31

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/Console/Commands/AutoDeactivateWarning.php

-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ class AutoDeactivateWarning extends Command
5050
final public function handle(): void
5151
{
5252
$current = Carbon::now();
53-
$warnings = Warning::with(['warneduser', 'torrenttitle'])
54-
->where('active', '=', 1)
55-
->get();
5653

5754
Warning::query()
5855
->where('active', '=', true)

0 commit comments

Comments
 (0)