common_test_cron_helper.module 362 B

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