You are here

function _profile2_revision_tab_access in Profile 2 7.2

2 string references to '_profile2_revision_tab_access'
profile2_diff_menu in contrib/profile2_diff.module
Implements hook_menu().
profile2_menu in ./profile2.module
Implements hook_menu().

File

./profile2.module, line 1712
Support for configurable user profiles.

Code

function _profile2_revision_tab_access($type, $account, $permissions) {
  $profile = profile2_load_by_user($account, $type);
  return _profile2_revision_access($profile, $permissions);
}