You are here

function abt_user_view in Access By Term 7

Implements hook_user_view().

File

./abt.module, line 297
abt.module Module for controling access by using user->term<-node relationship.

Code

function abt_user_view($account, $view_mode, $langcode) {
  if (!user_access('allow view abt field content in profile')) {
    $account->content = abt_remove_fields($account->content);
  }
}