You are here

function metatag_update_7000 in Metatag 7

Disable the deprecated metatag_ui module, which has been merged into metatag.

File

./metatag.install, line 850
Install, update, and uninstall functions for the metatag module.

Code

function metatag_update_7000() {
  if (module_exists('metatag_ui')) {
    module_disable(array(
      'metatag_ui',
    ), FALSE);
    drupal_uninstall_modules(array(
      'metatag_ui',
    ), FALSE);
  }
}