You are here

function profile2_tab_get_revision_delete in Profile 2 7.2

1 string reference to 'profile2_tab_get_revision_delete'
profile2_menu in ./profile2.module
Implements hook_menu().

File

./profile2.revisions.inc, line 19

Code

function profile2_tab_get_revision_delete($type, $account, $vid) {
  $current_profile = profile2_load_by_user($account, $type);
  $profile_revision = profile2_load($current_profile->pid, $vid);
  return drupal_get_form('profile2_revision_delete_confirm', $profile_revision);
}