mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Remove conditional related to no longer existant testrun option. (#4079)
This commit is contained in:
parent
be7598b279
commit
bbffde47f7
|
@ -78,12 +78,7 @@ class ObjectImportCommand extends Command
|
||||||
|
|
||||||
$logFile = $this->option('logfile');
|
$logFile = $this->option('logfile');
|
||||||
\Log::useFiles($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();
|
$importer->import();
|
||||||
|
|
||||||
$this->bar = null;
|
$this->bar = null;
|
||||||
|
|
Loading…
Reference in a new issue