You are here

function oauth_cron in OAuth 1.0 6

Implementation of hook_cron

Prune the oauth_nonce table

File

./oauth.module, line 359

Code

function oauth_cron() {
  db_query("DELETE FROM {oauth_nonce} WHERE nonce_timestamp > %d", strtotime("-1 day"));
}