You are here

function advuser_user in Advanced User 5.2

Same name and namespace in other branches
  1. 5 advuser.module \advuser_user()
  2. 6.3 advuser.module \advuser_user()
  3. 6.2 advuser.module \advuser_user()

hook_user implementation

File

./advuser.module, line 649
Advanced user module allows you to select users based on an advanced set of filtering and apply actions to block, unblock, delete or email the selected users.

Code

function advuser_user($type, &$edit, &$user, $category = NULL) {
  $return = NULL;
  switch ($type) {
    case 'insert':
      $return = advuser_user_insert($edit, $user, $category);
      break;
    case 'after_update':
      $return = advuser_user_update($edit, $user, $category);
      break;
  }
  return $return;
}