You are here

function datalayer_uninstall in dataLayer 7

Implements hook_uninstall().

File

./datalayer.install, line 11
Install, update, and uninstall hooks for the Data Layer module.

Code

function datalayer_uninstall() {

  // Remove all configurations.
  global $conf;
  foreach ($conf as $key => $value) {
    if (0 === strpos($key, 'datalayer_')) {
      variable_del($key);
    }
  }
}