You are here

function htmlpurifier_cron in HTML Purifier 7

Same name and namespace in other branches
  1. 6.2 htmlpurifier.module \htmlpurifier_cron()
  2. 6 htmlpurifier.module \htmlpurifier_cron()
  3. 7.2 htmlpurifier.module \htmlpurifier_cron()

Implements hook_cron().

File

./htmlpurifier.module, line 56
Implements HTML Purifier as a Drupal filter.

Code

function htmlpurifier_cron() {

  // Force an attempt at checking for a new version; this is safe to do in
  // hook_cron because a slow timeout will not degrade the user experience.
  htmlpurifier_check_version(TRUE);
}