Removed commented code

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-08-16 22:43:56 +01:00
parent 7658f7c41d
commit b57283d8d1

View file

@ -262,8 +262,11 @@ class ItemImporter extends Importer
$item['category_id'] = $this->createOrFetchCategory($asset_model_category);
$asset_model->fill($item);
//$asset_model = AssetModel::firstOrNew($item);
$item = null;
if ($asset_model->save()) {
$this->log('Asset Model '.$asset_model_name.' with model number '.$asset_modelNumber.' was created');