You are here

function access_uninstall in Access Control Kit 7

Implements hook_uninstall().

File

./access.install, line 178
Install, update and uninstall functions for the access control kit module.

Code

function access_uninstall() {
  $schemes = db_query('SELECT machine_name FROM {access_scheme}')
    ->fetchCol();
  foreach ($schemes as $scheme) {
    variable_del('access_scheme_roles_' . $scheme);
  }
}