From 32b194ddc76d32855819e6984832d2485a3e8b8f Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Wed, 12 Mar 2025 16:44:37 -0700 Subject: [PATCH] Update description --- app/Console/Commands/FixActionLogTimestamps.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/Console/Commands/FixActionLogTimestamps.php b/app/Console/Commands/FixActionLogTimestamps.php index 61d974cec..503758e7d 100644 --- a/app/Console/Commands/FixActionLogTimestamps.php +++ b/app/Console/Commands/FixActionLogTimestamps.php @@ -15,13 +15,12 @@ class FixActionLogTimestamps extends Command */ protected $signature = 'snipeit:fix-action-log-timestamps {--dryrun : Run the sync process but don\'t update the database}'; - // @todo: /** * The console command description. * * @var string */ - protected $description = 'Command description'; + protected $description = 'This script attempts to fix timestamps and missing created_by values for bulk checkin entries in the log table'; private bool $dryrun = false; @@ -42,8 +41,6 @@ class FixActionLogTimestamps extends Command // Logs that were improperly timestamped should have created_at in the 1970s $logs = Actionlog::whereYear('created_at', '1970')->get(); - // @todo: handle created_by being null... - $this->info('Found ' . $logs->count() . ' logs with incorrect timestamps:'); $this->table(