view modules/simpletest/tests/common_test_cron_helper.module @ 9:830c812b520f

added smtp module
author root <root@paio.local>
date Mon, 28 Oct 2013 15:34:27 +0000
parents ff03f76ab3fe
children
line wrap: on
line source
<?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');
}