function i18n_commerce_product_uninstall in Internationalization for commerce product 7
Implements hook_uninstall().
File
- ./
i18n_commerce_product.install, line 43 - Installation file for i18n_commerce_product module.
Code
function i18n_commerce_product_uninstall() {
if (db_field_exists('commerce_product', 'tproduct_id')) {
db_drop_field('commerce_product', 'tproduct_id');
}
db_drop_unique_key('commerce_product', 'sku');
db_add_unique_key('commerce_product', 'sku', array(
'sku',
));
}