function gmap_location_uninstall in GMap Module 7
Same name and namespace in other branches
- 5 gmap_location.install \gmap_location_uninstall()
- 6.2 gmap_location.install \gmap_location_uninstall()
- 6 gmap_location.install \gmap_location_uninstall()
- 7.2 gmap_location.install \gmap_location_uninstall()
Implementation of hook_uninstall().
File
- ./
gmap_location.install, line 18 - gmap_location install routines.
Code
function gmap_location_uninstall() {
variable_del('gmap_user_map');
variable_del('gmap_node_map');
variable_del('gmap_node_markers');
variable_del('gmap_role_markers');
variable_del('gmap_location_block_macro');
variable_del('gmap_location_author_block_macro');
variable_del('gmap_location_author_block_types');
variable_del('gmap_location_author_block_marker');
$result = db_query("SELECT name FROM {variable} WHERE name LIKE 'gmap_location_block_macro_%%'");
foreach ($result as $row) {
variable_del($row->name);
}
}