You are here

function shurly_cron in ShURLy 7

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

Implements hook_cron().

File

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

Code

function shurly_cron() {

  // Cleanup the flood.
  db_query('DELETE FROM {shurly_flood} WHERE expiration < :time', array(
    'time' => time(),
  ));
}