fix todos/move to todo list

This commit is contained in:
Dennis Eichhorn 2020-11-26 20:50:18 +01:00
parent 6457094413
commit 9295262646
2 changed files with 0 additions and 2 deletions

View File

@ -15,7 +15,6 @@ declare(strict_types=1);
namespace Modules\Exchange\Controller;
use phpOMS\Module\ModuleAbstract;
use phpOMS\Module\WebInterface;
/**
* Exchange controller class.

View File

@ -570,7 +570,6 @@ final class Importer extends ImporterAbstract
{
$itemAttrType = [];
// @todo check if attr. types already exist, if yes don't create, just save them in here.
if (($itemAttrType['tradegroup'] = ItemAttributeTypeMapper::getBy('tradegroup', 'name')) instanceof NullItemAttributeType) {
$itemAttrType['tradegroup'] = new ItemAttributeType('tradegroup');
ItemAttributeTypeMapper::create($itemAttrType['tradegroup']);