You are here

function cer_profile2_uninstall in Corresponding Entity References 7.3

Implements hook_uninstall().

File

extensions/cer_profile2/cer_profile2.install, line 17

Code

function cer_profile2_uninstall() {
  foreach (entity_load('cer', FALSE) as $preset) {
    if (_cer_profile2_is_profile2_preset($preset)) {
      entity_delete('cer', $preset->pid);
    }
  }
}