function _login_security_access_timestamp in Login Security 8
Same name and namespace in other branches
- 7 login_security.module \_login_security_access_timestamp()
- 2.x login_security.module \_login_security_access_timestamp()
Returns account access timestamp.
2 calls to _login_security_access_timestamp()
- login_security_set_login_timestamp in ./
login_security.module - Save login attempt and save login/access timestamps.
- login_security_submit in ./
login_security.module - Implements hook_submit().
File
- ./
login_security.module, line 105 - Login Security module hooks.
Code
function _login_security_access_timestamp($access = NULL) {
static $account_access;
if (!isset($account_access) && is_numeric($access) && $access > 0) {
$account_access = $access;
}
return $account_access;
}