function session_limit_user_max_sessions_byuser in Session Limit 6
Same name and namespace in other branches
- 6.2 session_limit.module \session_limit_user_max_sessions_byuser()
- 7.2 session_limit.module \session_limit_user_max_sessions_byuser()
1 call to session_limit_user_max_sessions_byuser()
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);
}