You are here

function themekey_cron in ThemeKey 7

Same name and namespace in other branches
  1. 6.4 themekey.module \themekey_cron()
  2. 6.3 themekey.module \themekey_cron()
  3. 7.3 themekey.module \themekey_cron()
  4. 7.2 themekey.module \themekey_cron()

Implements hook_cron().

File

./themekey.module, line 278
ThemeKey is designed as a generic theme-switching module.

Code

function themekey_cron() {
  if (variable_get('themekey_cron_page_cache', 1)) {
    module_load_include('inc', 'themekey', 'themekey_cron');
    themekey_cron_clear_page_cache();
  }
}