You are here

function rules_session_limit in Session Limit 7.2

Same name and namespace in other branches
  1. 6.2 session_limit.module \rules_session_limit()

Implements hook_session_limit().

This implements the hook on behalf of the rules module.

File

./session_limit.module, line 710
Limits multiple sessions per user.

Code

function rules_session_limit($sid, $op) {
  global $user;
  rules_invoke_event('session_limit_' . $op, $user, $sid);
}