function _login_security_login_timestamp in Login Security 7
Same name and namespace in other branches
- 8 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_sumbit().
File
- ./
login_security.module, line 130 - Login Security
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;
}