function commerce_kickstart_update_7206 in Commerce Kickstart 7.2
Enable the commerce_kickstart_product_ui on the no demo store.
File
- ./
commerce_kickstart.install, line 987 - Installation code for Commerce Kickstart.
Code
function commerce_kickstart_update_7206() {
if (!variable_get('commerce_kickstart_demo_store', FALSE)) {
// Disable the removed lite modules.
_commerce_kickstart_disable_modules(array(
'commerce_kickstart_lite_product_ui',
'commerce_kickstart_lite_product_zoom',
));
drupal_flush_all_caches();
module_enable(array(
'commerce_kickstart_product_ui',
));
}
}