You are here

function mobile_tools_uninstall in Mobile Tools 7.3

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.2 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 117
Instalation of the mobile_tools module

Code

function mobile_tools_uninstall() {
  variable_del('mobile_tools_enable_view_modes');
  variable_del('mobile_tools_enable_redirection');
  variable_del('mobile_tools_global_httpheaders');
  variable_del('mobile_tools_redirection_type');
  variable_del('mobile_tools_redirection_auto');
}