function history_cron

Implements hook_cron().

File

drupal/core/modules/history/history.module, line 73
Records which users have read which content.

Code

function history_cron() {
  db_delete('history')
    ->condition('timestamp', HISTORY_READ_LIMIT, '<')
    ->execute();
}