addthis.install in AddThis 6.2
Same filename and directory in other branches
Install, update and uninstall functions for the AddThis module.
File
addthis.installView 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
Name | Description |
---|---|
addthis_uninstall | Implementation of hook_uninstall(). |