3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-03-05 07:59:29 +00:00

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

This commit is contained in:
Daniel Meltzer
2017-09-29 20:31:39 -04:00
committed by snipe
parent be7598b279
commit bbffde47f7

View File

@ -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;