You are here

function homebox_user in Homebox 6

Implementation of hook_user().

Restore previously saved views filters

File

./homebox.module, line 795
Home box main file, takes care of global functions settings constants, etc.

Code

function homebox_user($op, &$edit, &$account, $category = NULL) {
  if ($op == 'login') {
    $_SESSION['views'] = $account->homebox_views_exposed;
  }
}