function system_cron_test_flush_caches

Implements hook_flush_caches().

1 string reference to 'system_cron_test_flush_caches'
CronRunTestCase::testCronCacheExpiration in drupal/modules/system/system.test
Tests that hook_flush_caches() is not invoked on every single cron run.

File

drupal/modules/system/tests/system_cron_test.module, line 11
Helper module for CronRunTestCase::testCronCacheExpiration().

Code

function system_cron_test_flush_caches() {

  // Set a variable to indicate that this hook was invoked.
  variable_set('system_cron_test_flush_caches', 1);
  return array();
}