function _login_security_login_timestamp in Login Security 8
Same name and namespace in other branches
- 7 login_security.module \_login_security_login_timestamp()
- 2.x login_security.module \_login_security_login_timestamp()
Returns account login timestamp.
2 calls to _login_security_login_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 94 - Login Security module hooks.
Code
function _login_security_login_timestamp($login = NULL) {
static $account_login;
if (!isset($account_login) && is_numeric($login) && $login > 0) {
$account_login = $login;
}
return $account_login;
}