You are here

function media_uninstall in D7 Media 7

Same name and namespace in other branches
  1. 7.4 media.install \media_uninstall()
  2. 7.2 media.install \media_uninstall()
  3. 7.3 media.install \media_uninstall()

Implements hook_uninstall().

File

./media.install, line 242
Install, update and uninstall functions for the Media module.

Code

function media_uninstall() {
  drupal_load('module', 'media');
  foreach (media_variable_default() as $name => $value) {
    media_variable_del($name);
  }
}