root / drupal7 / modules / system / tests / system_cron_test.module @ a08833bd
1 | 30d5b9c5 | Mathieu Schiano | <?php |
---|---|---|---|
2 | |||
3 | /** |
||
4 | * @file |
||
5 | * Helper module for CronRunTestCase::testCronCacheExpiration(). |
||
6 | */ |
||
7 | |||
8 | /** |
||
9 | * Implements hook_flush_caches(). |
||
10 | */ |
||
11 | function system_cron_test_flush_caches() { |
||
12 | // Set a variable to indicate that this hook was invoked. |
||
13 | variable_set('system_cron_test_flush_caches', 1); |
||
14 | return array(); |
||
15 | } |