You are here

function commerce_feeds_example_enable in Commerce Feeds 7

File

commerce_feeds_example/commerce_feeds_example.install, line 10
Install functions for commerce_feeds_example module.

Code

function commerce_feeds_example_enable() {
  $disabled = variable_get('default_feeds_importer');
  $disabled['product_importer'] = FALSE;
  $disabled['product_reference_importer'] = FALSE;
  variable_set('default_feeds_importer', $disabled);
}