Skip to content

A free open source IT asset/license management system

Add todos

Marcus Moore147e61006290
diff --git a/app/Console/Commands/FixActionLogTimestamps.php b/app/Console/Commands/FixActionLogTimestamps.php
index 26071369ae..54b4d28772 100644
--- a/app/Console/Commands/FixActionLogTimestamps.php
+++ b/app/Console/Commands/FixActionLogTimestamps.php
@@ -15,6 +15,7 @@ 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.
*
@@ -40,6 +41,8 @@ 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(