You are here

function statsd_user_login in StatsD 6

Same name and namespace in other branches
  1. 7.2 statsd.module \statsd_user_login()
  2. 7 statsd.module \statsd_user_login()

Implementation of hook_user_login()

File

./statsd.module, line 40

Code

function statsd_user_login(&$edit, $account) {
  if (!variable_get('statsd_user_events', TRUE)) {
    return;
  }
  statsd_call('user_events.successful_login');
}