diff --git a/src/Observers/CleanUpGroupedProductRelationObserver.php b/src/Observers/CleanUpGroupedProductRelationObserver.php index cfd53c7..2dda049 100644 --- a/src/Observers/CleanUpGroupedProductRelationObserver.php +++ b/src/Observers/CleanUpGroupedProductRelationObserver.php @@ -17,7 +17,7 @@ use TechDivision\Import\Observers\StateDetectorInterface; use TechDivision\Import\Product\Grouped\Services\ProductGroupedProcessorInterface; use TechDivision\Import\Product\Grouped\Utils\ColumnKeys; -use TechDivision\Import\Product\Grouped\Utils\ConfigurationKeys; +use TechDivision\Import\Product\Utils\ConfigurationKeys; use TechDivision\Import\Product\Utils\MemberNames; use TechDivision\Import\Product\Grouped\Utils\ProductTypes; use TechDivision\Import\Product\Observers\AbstractProductImportObserver; @@ -78,8 +78,8 @@ protected function process() $subject = $this->getSubject(); $subjectConfiguration = $subject->getConfiguration(); - if ($subjectConfiguration->hasParam(ConfigurationKeys::CLEAN_UP_GROUPED) - && $subjectConfiguration->getParam(ConfigurationKeys::CLEAN_UP_GROUPED)) { + if ($subjectConfiguration->hasParam(ConfigurationKeys::CLEAN_UP_LINKS) + && $subjectConfiguration->getParam(ConfigurationKeys::CLEAN_UP_LINKS)) { $this->cleanUpGrouped(); $subject->getSystemLogger()->info( diff --git a/src/Utils/ConfigurationKeys.php b/src/Utils/ConfigurationKeys.php deleted file mode 100644 index bb387b7..0000000 --- a/src/Utils/ConfigurationKeys.php +++ /dev/null @@ -1,29 +0,0 @@ - - TechDivision GmbH - * All rights reserved - * - * This product includes proprietary software developed at TechDivision GmbH, Germany - * For more information see https://www.techdivision.com - * - * To obtain a valid license for using this software, please contact us at - * license@techdivision.com - */ -declare(strict_types=1); - -namespace TechDivision\Import\Product\Grouped\Utils; - -/** - * @copyright Copyright (c) 2024 TechDivision GmbH - TechDivision GmbH - * @link http://www.techdivision.com - * @author MET - */ -class ConfigurationKeys extends \TechDivision\Import\Product\Utils\ConfigurationKeys -{ - /** - * Name for the configuration key 'clean-up-grouped' - * - * @var string - */ - public const CLEAN_UP_GROUPED = 'clean-up-grouped'; -}