Revision 9cdb21e9
Von Werner Hahn vor mehr als 7 Jahren hinzugefügt
SL/ShopConnector/ALL.pm | ||
---|---|---|
20 | 20 |
{ id => "shopware", description => "Shopware" }, |
21 | 21 |
); |
22 | 22 |
|
23 |
sub all_enabled_shop_connectors { |
|
24 |
my %disabled = map { $_ => 1 } @{ $::instance_conf->get_disabled_shop_connectors || [] }; |
|
25 |
|
|
26 |
map { $shop_connector_by_name{$_} } grep { !$disabled{$_} } @shop_connector_order; |
|
27 |
} |
|
23 |
#sub all_enabled_shop_connectors {
|
|
24 |
# my %disabled = map { $_ => 1 } @{ $::instance_conf->get_disabled_shop_connectors || [] };
|
|
25 |
# |
|
26 |
# map { $shop_connector_by_name{$_} } grep { !$disabled{$_} } @shop_connector_order;
|
|
27 |
#}
|
|
28 | 28 |
|
29 | 29 |
sub all_shop_connectors { |
30 | 30 |
map { $shop_connector_by_name{$_} } @shop_connector_order; |
Auch abrufbar als: Unified diff
Shopmodul: Nicht benutzte Funktion in SL/ShopConnector/ALL.pm
auskommentiert.