| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: object-cache.cron.inc,v 1.1.2.2 2010/08/27 23:47:17 merlinofchaos Exp $ 3 4 /** 5 * @file 6 * Contains cron hooks for the object cache tool. 7 * 8 * We use this to clean up old object caches. 9 */ 10 11 function ctools_object_cache_cron() { 12 if (variable_get('ctools_last_cron', 0) < time() - 86400) { 13 variable_set('ctools_last_cron', time()); 14 ctools_include('object-cache'); 15 ctools_object_cache_clean(); 16 } 17 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |