You are here

function uc_product_update_7002 in Ubercart 7.3

Makes sure Image is enabled.

File

uc_product/uc_product.install, line 335
Install, update and uninstall functions for the uc_product module.

Code

function uc_product_update_7002() {
  if (module_exists('uc_product') && !module_exists('image')) {
    module_enable(array(
      'file',
      'image',
    ), FALSE);
    return t('Enabled Image module.');
  }
}