root / drupal7 / modules / simpletest / tests / common_test_cron_helper.module @ bfb52287
1 |
<?php |
---|---|
2 |
/** |
3 |
* @file |
4 |
* Helper module for the testCronExceptions in addition to common_test module. |
5 |
*/ |
6 |
|
7 |
/** |
8 |
* Implements hook_cron(). |
9 |
* |
10 |
* common_test_cron() throws an exception, but the execution should reach this |
11 |
* function as well. |
12 |
* |
13 |
* @see common_test_cron() |
14 |
*/ |
15 |
function common_test_cron_helper_cron() { |
16 |
variable_set('common_test_cron', 'success'); |
17 |
} |