You are here

addthis.install in AddThis 6.2

Same filename and directory in other branches
  1. 6.3 addthis.install
  2. 7.4 addthis.install

Install, update and uninstall functions for the AddThis module.

File

addthis.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the AddThis module.
 */

/**
 * Implementation of hook_uninstall().
 */
function addthis_uninstall() {

  // Remove module variables.
  $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'addthis_%'");
  while ($var_name = db_result($result)) {
    variable_del($var_name);
  }
}

Functions

Namesort descending Description
addthis_uninstall Implementation of hook_uninstall().