You are here

function addressfield_staticmap_uninstall in Address Field Static Map 7

Implements hook_uninstall().

Deletes variables set and used by Address Field Static Map.

File

./addressfield_staticmap.install, line 13
Uninstall function for the address field static map module.

Code

function addressfield_staticmap_uninstall() {
  $result = db_query("SELECT name from {variable} WHERE name like 'addressfield_staticmap_%'");
  foreach ($result as $record) {
    variable_del($record->name);
  }
}