function openid_cron

Remove expired nonces from the database.

Implements hook_cron().

File

drupal/core/modules/openid/openid.module, line 1087
Implement OpenID Relying Party support for Drupal

Code

function openid_cron() {
  db_delete('openid_nonce')
    ->condition('expires', REQUEST_TIME, '<')
    ->execute();
}