You are here

function content_profile_uninstall in Content Profile 6

Implementation of hook_uninstall().

File

./content_profile.install, line 74
Content profile installation file.

Code

function content_profile_uninstall() {
  foreach (node_get_types('names') as $typename => $visiblename) {
    if (variable_get('content_profile_use' . $typename, 0)) {
      variable_del('content_profile_use_' . $typename);
      variable_del('content_profile_' . $typename);
    }
  }
}