You are here

attachment_links.install in Attachment Links 6

Same filename and directory in other branches
  1. 7 attachment_links.install

attachment_links.install Provides install, uninstall, and update hooks.

File

attachment_links.install
View source
<?php

/**
 * @file attachment_links.install
 * Provides install, uninstall, and update hooks.
 */

/**
 * Implementation of hook_uninstall(). Removes the content type configuration
 * variables used by the module.
 *
 * @return None.
 */
function attachment_links_uninstall() {
  $vars = db_query("select * from {variable} where name like 'attachment_links%'");
  while ($var = db_fetch_object($vars)) {
    variable_del($var->name);
  }
}

Functions

Namesort descending Description
attachment_links_uninstall Implementation of hook_uninstall(). Removes the content type configuration variables used by the module.