Skip to content

A free open source IT asset/license management system

Remove conditional related to no longer existant testrun option. (#4079)

Daniel Meltzerbbffde47f79e
diff --git a/app/Console/Commands/ObjectImportCommand.php b/app/Console/Commands/ObjectImportCommand.php
index 07dfd5aeaf..6730e6f084 100644
--- a/app/Console/Commands/ObjectImportCommand.php
+++ b/app/Console/Commands/ObjectImportCommand.php
@@ -78,12 +78,7 @@ class ObjectImportCommand extends Command
$logFile = $this->option('logfile');
\Log::useFiles($logFile);
- if ($this->option('testrun')) {
- $this->comment('====== TEST ONLY Item Import for '.$filename.' ====');
- $this->comment('============== NO DATA WILL BE WRITTEN ==============');
- } else {
- $this->comment('======= Importing Items from '.$filename.' =========');
- }
+ $this->comment('======= Importing Items from '.$filename.' =========');
$importer->import();
$this->bar = null;