You are here

function _semiclean_do_your_magic in Semiclean 8

Same name and namespace in other branches
  1. 6 semiclean.module \_semiclean_do_your_magic()
  2. 7 semiclean.module \_semiclean_do_your_magic()

Menu callback to delete the cron semaphore.

1 string reference to '_semiclean_do_your_magic'
semiclean_menu in ./semiclean.module
Implements hook_menu().

File

./semiclean.module, line 23
Utility module for cleaning up after failed cron jobs.

Code

function _semiclean_do_your_magic() {
  drupal_cron_cleanup();
  drupal_set_message(t('Cron semaphore cleaned.'), 'status');
  drupal_goto('admin/reports/status');
}