A free open source IT asset/license management system
Update description
Marcus Moore32b194ddc76d
diff --git a/app/Console/Commands/FixActionLogTimestamps.php b/app/Console/Commands/FixActionLogTimestamps.phpindex 61d974cec0..503758e7dc 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(