Shopware6: ALL toten Kode entfernt
authorJan Büren <jan@kivitendo.de>
Tue, 26 Oct 2021 10:01:38 +0000 (12:01 +0200)
committerJan Büren <jan@kivitendo.de>
Fri, 11 Feb 2022 14:19:56 +0000 (15:19 +0100)
shop_connector_class_by_connector wird nirgends aufgerufen
die info ist redundant mit shop_connector_class_by_name

SL/ShopConnector/ALL.pm

index 1c352b1..1b1b0c8 100644 (file)
@@ -12,12 +12,6 @@ my %shop_connector_by_name = (
   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
@@ -39,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;
 }