You are here

function commons_status_streams_user in Drupal Commons 6.2

Implementation of hook_user().

File

modules/features/commons_status_streams/commons_status_streams.module, line 93

Code

function commons_status_streams_user($op, &$edit, &$account, $category = NULL) {
  if ($op == 'view') {
    foreach (array_keys($account->content) as $key) {
      $account->content[$key]['#access'] = FALSE;
    }
  }
}