summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/common_test_cron_helper.module
blob: 94a2b2c43821ae8e8f41ff6a3a6a81fbc984868e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
 * @file
 * Helper module for the testCronExceptions in addition to common_test module.
 */

/**
 * Implements hook_cron().
 *
 * common_test_cron() throws an exception, but the execution should reach this
 * function as well.
 *
 * @see common_test_cron()
 */
function common_test_cron_helper_cron() {
  variable_set('common_test_cron', 'success');
}