| 6 openid.module | openid_cron() |
| 7 openid.module | openid_cron() |
| 8 openid.module | openid_cron() |
Remove expired nonces from the database.
Implementation of hook_cron().
File
- modules/
openid/ openid.module, line 1015 - Implement OpenID Relying Party support for Drupal
Code
function openid_cron() {
db_delete('openid_nonce')
->condition('expires', REQUEST_TIME, '<')
->execute();
}
Login or register to post comments