You are here

function openid_cron in Drupal 7

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

Remove expired nonces from the database.

Implements hook_cron().

File

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

Code

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