From bbcbcbb088159c21f0989c09dcb35bae4ca7ffc1 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 19 Mar 2024 20:17:52 +0100 Subject: [PATCH] CS fixes --- app/Console/Commands/NntmuxResetDb.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Console/Commands/NntmuxResetDb.php b/app/Console/Commands/NntmuxResetDb.php index ff1929d95..1b1de2af2 100644 --- a/app/Console/Commands/NntmuxResetDb.php +++ b/app/Console/Commands/NntmuxResetDb.php @@ -43,6 +43,7 @@ class NntmuxResetDb extends Command // Allow database reset only if app environment is local if (app()->environment() !== 'local') { $this->error('This command can only be run in local environment'); + return; } if ($this->confirm('This script removes all releases, nzb files, samples, previews , nfos, truncates all article tables and resets all groups. Are you sure you want reset the DB?')) {