You are here

function session_limit_user_max_sessions_byuser in Session Limit 6

Same name and namespace in other branches
  1. 6.2 session_limit.module \session_limit_user_max_sessions_byuser()
  2. 7.2 session_limit.module \session_limit_user_max_sessions_byuser()
1 call to session_limit_user_max_sessions_byuser()
session_limit_user_max_sessions in ./session_limit.module

File

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

Code

function session_limit_user_max_sessions_byuser($account) {
  return empty($account->session_limit) ? 0 : check_plain($account->session_limit);
}