Removed comment

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-05-23 14:57:15 -07:00
parent d4c5a4eb2e
commit 61d5bd8567

View file

@ -132,8 +132,7 @@ class AssetImporter extends ItemImporter
}
}
// FIXME: this disables model validation. Need to find a way to avoid double-logs without breaking everything.
// $asset->unsetEventDispatcher();
if ($asset->save()) {
$asset->logCreate('Imported using csv importer');
$this->log('Asset '.$this->item['name'].' with serial number '.$this->item['serial'].' was created');