You are here

function crazyegg_uninstall in Crazy Egg Integration 7

Implements hook_uninstall().

File

./crazyegg.install, line 11
Contains install and update functions for Crazy Egg.

Code

function crazyegg_uninstall() {
  $variables = array(
    'crazyegg_account_id',
    'crazyegg_enabled',
    'crazyegg_js_scope',
    'crazyegg_roles_excluded',
    'crazyegg_paths',
  );

  // Delete all CrazyEgg variables.
  foreach ($variables as $var) {
    variable_del($var);
  }
}