You are here

function addthis_uninstall in AddThis 6.2

Same name and namespace in other branches
  1. 6.3 addthis.install \addthis_uninstall()
  2. 7.4 addthis.install \addthis_uninstall()

Implementation of hook_uninstall().

File

./addthis.install, line 11
Install, update and uninstall functions for the AddThis module.

Code

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);
  }
}