You are here

function shurly_cron in ShURLy 6

Same name and namespace in other branches
  1. 8 shurly.module \shurly_cron()
  2. 7 shurly.module \shurly_cron()

Implements hook_cron().

File

./shurly.module, line 346
description http://www.youtube.com/watch?v=Qo7qoonzTCE

Code

function shurly_cron() {

  // Cleanup the flood.
  db_query('DELETE FROM {shurly_flood} WHERE expiration < %d', time());
}