function _session_limit_bypass in Session Limit 6.2
Same name and namespace in other branches
- 7.2 session_limit.module \_session_limit_bypass()
Execute the session limit bypass hook.
Allow other modules to prevent session limits in their own requirements.
Return value
bool TRUE if session limitation should be bypassed.
1 call to _session_limit_bypass()
- session_limit_init in ./
session_limit.module - Implementation of hook_init().
File
- ./
session_limit.module, line 658 - Limits multiple sessions per user.
Code
function _session_limit_bypass() {
foreach (module_invoke_all('session_limit_bypass') as $bypass) {
if (!empty($bypass)) {
return TRUE;
}
}
return FALSE;
}