You are here

function party_user_module_implements_alter in Party 8.2

Same name and namespace in other branches
  1. 7 modules/party_user/party_user.module \party_user_module_implements_alter()

Implements hook_module_implements_alter()

We're just going to stop profile2 from doing anything with the user page for now. This should supress the thousands of errors we get on that page.

File

modules/party_user/party_user.module, line 393
Support for linking users to parties

Code

function party_user_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'user_view') {
    unset($implementations['profile2']);
  }
}