Merge branch 'test' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / SL / ShopConnector / ALL.pm
index 3f29c99..1b1b0c8 100644 (file)
@@ -3,26 +3,25 @@ package SL::ShopConnector::ALL;
 use strict;
 
 use SL::ShopConnector::Shopware;
+use SL::ShopConnector::Shopware6;
 use SL::ShopConnector::WooCommerce;
 
 my %shop_connector_by_name = (
   shopware    => 'SL::ShopConnector::Shopware',
-  woocommerce    => 'SL::ShopConnector::WooCommerce',
-);
-
-my %shop_connector_by_connector = (
-  shopware   => 'SL::ShopConnector::Shopware',
+  shopware6   => 'SL::ShopConnector::Shopware6',
   woocommerce => 'SL::ShopConnector::WooCommerce',
 );
 
 my @shop_connector_order = qw(
   woocommerce
   shopware
+  shopware6
 );
 
 my @shop_connectors = (
-  { id => "shopware",   description => "Shopware" },
-  { id => "woocommerce",   description => "WooCommerce" },
+  { id => "shopware",    description => "Shopware" },
+  { id => "shopware6",   description => "Shopware6" },
+  { id => "woocommerce", description => "WooCommerce" },
 );
 
 
@@ -34,10 +33,6 @@ sub shop_connector_class_by_name {
   $shop_connector_by_name{$_[1]};
 }
 
-sub shop_connector_class_by_connector {
-  $shop_connector_by_connector{$_[1]};
-}
-
 sub connectors {
   \@shop_connectors;
 }