function xmlsitemap_custom_uninstall in XML sitemap 7.2
Same name and namespace in other branches
- 8 xmlsitemap_custom/xmlsitemap_custom.install \xmlsitemap_custom_uninstall()
- 6.2 xmlsitemap_custom/xmlsitemap_custom.install \xmlsitemap_custom_uninstall()
- 2.x xmlsitemap_custom/xmlsitemap_custom.install \xmlsitemap_custom_uninstall()
Implements hook_uninstall().
File
- xmlsitemap_custom/
xmlsitemap_custom.install, line 11 - Install and uninstall schema and functions for the xmlsitemap_custom module.
Code
function xmlsitemap_custom_uninstall() {
drupal_load('module', 'xmlsitemap');
xmlsitemap_link_delete_multiple(array(
'type' => 'custom',
));
}