18 lines
362 B
Plaintext
18 lines
362 B
Plaintext
|
<?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');
|
||
|
}
|