function attachment_links_uninstall in Attachment Links 6
Same name and namespace in other branches
- 7 attachment_links.install \attachment_links_uninstall()
Implementation of hook_uninstall(). Removes the content type configuration variables used by the module.
Return value
None.
File
- ./
attachment_links.install, line 15 - attachment_links.install Provides install, uninstall, and update hooks.
Code
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);
}
}