function trigger_session_limit in Session Limit 6.2
Same name and namespace in other branches
- 7.2 session_limit.module \trigger_session_limit()
Implements hook_session_limit().
This implements the hook on behalf of the trigger module.
File
- ./
session_limit.module, line 618 - Limits multiple sessions per user.
Code
function trigger_session_limit($sid, $op) {
$aids = _trigger_get_hook_aids('session_limit', $op);
$context = array(
'hook' => 'session_limit',
'op' => $op,
'sid' => $sid,
);
actions_do(array_keys($aids), $user, $context);
}