mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Removed commented code
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
7658f7c41d
commit
b57283d8d1
|
@ -262,8 +262,11 @@ class ItemImporter extends Importer
|
||||||
$item['category_id'] = $this->createOrFetchCategory($asset_model_category);
|
$item['category_id'] = $this->createOrFetchCategory($asset_model_category);
|
||||||
|
|
||||||
$asset_model->fill($item);
|
$asset_model->fill($item);
|
||||||
|
//$asset_model = AssetModel::firstOrNew($item);
|
||||||
$item = null;
|
$item = null;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if ($asset_model->save()) {
|
if ($asset_model->save()) {
|
||||||
$this->log('Asset Model '.$asset_model_name.' with model number '.$asset_modelNumber.' was created');
|
$this->log('Asset Model '.$asset_model_name.' with model number '.$asset_modelNumber.' was created');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue