You are here

function route_planner_uninstall in Route Planner 7

Same name and namespace in other branches
  1. 6 route_planner.install \route_planner_uninstall()

Implements hook_uninstall().

File

./route_planner.install, line 20
Provides install, upgrade and un-install functions for route_planner.

Code

function route_planner_uninstall() {

  // Delete Route Planner variables.
  variable_del('route_planner_address');
  variable_del('route_planner_api_key');
  variable_del('route_planner_api_language');
  variable_del('route_planner_map_height');
  variable_del('route_planner_map_width');
  variable_del('route_planner_map_zoom');
  variable_del('route_planner_map_scrollwheel');
  variable_del('route_planner_map_maptypecontrol');
  variable_del('route_planner_map_scalecontrol');
  variable_del('route_planner_map_draggable');
  variable_del('route_planner_map_zoomcontrol');
  variable_del('route_planner_map_doubbleclick');
  variable_del('route_planner_map_streetviewcontrol');
  variable_del('route_planner_map_overviewmapcontrol');
  variable_del('route_planner_map_defaultui');
  variable_del('route_planner_map_style');
  variable_del('route_planner_map_travelmode');
}