Revision d4e74f0a
Von Jan Büren vor etwa 3 Jahren hinzugefügt
SL/ShopConnector/ALL.pm | ||
---|---|---|
12 | 12 |
woocommerce => 'SL::ShopConnector::WooCommerce', |
13 | 13 |
); |
14 | 14 |
|
15 |
my %shop_connector_by_connector = ( |
|
16 |
shopware => 'SL::ShopConnector::Shopware', |
|
17 |
shopware6 => 'SL::ShopConnector::Shopware6', |
|
18 |
woocommerce => 'SL::ShopConnector::WooCommerce', |
|
19 |
); |
|
20 |
|
|
21 | 15 |
my @shop_connector_order = qw( |
22 | 16 |
woocommerce |
23 | 17 |
shopware |
... | ... | |
39 | 33 |
$shop_connector_by_name{$_[1]}; |
40 | 34 |
} |
41 | 35 |
|
42 |
sub shop_connector_class_by_connector { |
|
43 |
$shop_connector_by_connector{$_[1]}; |
|
44 |
} |
|
45 |
|
|
46 | 36 |
sub connectors { |
47 | 37 |
\@shop_connectors; |
48 | 38 |
} |
Auch abrufbar als: Unified diff
Shopware6: ALL toten Kode entfernt
shop_connector_class_by_connector wird nirgends aufgerufen
die info ist redundant mit shop_connector_class_by_name