You are here

function openid_cron in Drupal 6

Same name and namespace in other branches
  1. 7 modules/openid/openid.module \openid_cron()

Remove expired nonces from the database.

Implementation of hook_cron().

File

modules/openid/openid.module, line 699
Implement OpenID Relying Party support for Drupal

Code

function openid_cron() {
  db_query("DELETE FROM {openid_nonce} WHERE expires < %d", time());
}