You are here

function panels_cron in Panels 5.2

Same name and namespace in other branches
  1. 6.2 panels.module \panels_cron()

Clean up old caches

File

./panels.module, line 354
panels.module Core API for Panels. Provides display editing and rendering capabilities.

Code

function panels_cron() {

  // delete anything 7 days old or more.
  db_query("DELETE FROM {panels_object_cache} WHERE timestamp < %d", time() - 86400 * 7);
}