Set default values for status labels in import
This commit is contained in:
parent
54a0d0de0e
commit
52425f62c5
1 changed files with 4 additions and 0 deletions
|
@ -456,6 +456,10 @@ class ObjectImportCommand extends Command
|
|||
$status = new Statuslabel();
|
||||
$status->name = $asset_statuslabel_name;
|
||||
|
||||
$status->deployable = 1;
|
||||
$status->pending = 0;
|
||||
$status->archived = 0;
|
||||
|
||||
|
||||
if (!$this->option('testrun')) {
|
||||
if ($status->save()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue