Commit 7d7f2928 authored by Dries's avatar Dries

- Patch #203222 by Pascalle: added missing message type to watchdog call.

parent be9f7bf2
......@@ -1729,10 +1729,10 @@ function system_status($check = FALSE) {
function system_run_cron() {
// Run cron manually
if (drupal_cron_run()) {
drupal_set_message(t('Cron ran successfully'));
drupal_set_message(t('Cron ran successfully.'));
}
else {
drupal_set_message(t('Cron run failed'));
drupal_set_message(t('Cron run failed.'), 'error');
}
drupal_goto('admin/reports/status');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment