You are here

function commerce_feeds_example_disable in Commerce Feeds 7

File

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

Code

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