You are here

function mobile_tools_uninstall in Mobile Tools 7.2

Same name and namespace in other branches
  1. 5 mobile_tools.install \mobile_tools_uninstall()
  2. 6.3 mobile_tools.install \mobile_tools_uninstall()
  3. 6 mobile_tools.install \mobile_tools_uninstall()
  4. 6.2 mobile_tools.install \mobile_tools_uninstall()
  5. 7.3 mobile_tools.install \mobile_tools_uninstall()

Implements hook_uninstall().

Removing the mobile user roles from the role table Cleanup of the variables

File

./mobile_tools.install, line 35
Instalation of the mobile_tools module

Code

function mobile_tools_uninstall() {
  variable_del('default_main_nodes_mobile');
  variable_del('default_main_nodes_original');
  variable_del('site_frontpage_mobile');
  variable_del('mobile_tools_enable_build_mode');
  variable_del('desktop_notification');
  variable_del('mobile_notification');
  variable_del('mobile_tools_redirect_exceptions');
  variable_del('mobile_tools_redirect_exceptions_type');
  variable_del('mobile_tools_cookie_session');
  variable_del('mobile_tools_redirect');
  variable_del('mobile_tools_desktop_url');
  variable_del('mobile_tools_mobile_url');
  variable_del('mobile_tools_theme_switch');
  variable_del('mobile_tools_theme_name');
  variable_del('mobile_tools_device_detection');
  variable_del('mobile_tools_device_capabilities');
}