You are here

function media_youtube_uninstall in Media: YouTube 6

Same name and namespace in other branches
  1. 7 media_youtube.install \media_youtube_uninstall()

Implementation of hook_uninstall().

File

./media_youtube.install, line 30
This is Media: YouTube's installation, configuration, and removal file.

Code

function media_youtube_uninstall() {
  drupal_uninstall_schema('media_youtube');
  foreach (media_youtube_variable_default() as $variable => $value) {
    media_youtube_variable_del($variable);
  }
  return array(
    array(
      'success' => TRUE,
      'query' => "Deleted all variables in the Media: YouTube namespace.",
    ),
  );
}