From bbffde47f79e76a2fcfdaa3b29ce2975ccdbd16d Mon Sep 17 00:00:00 2001 From: Daniel Meltzer Date: Fri, 29 Sep 2017 20:31:39 -0400 Subject: [PATCH] Remove conditional related to no longer existant testrun option. (#4079) --- app/Console/Commands/ObjectImportCommand.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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;