You are here

function update_status_manual_status in Update Status 5.2

Callback to manually check the update status without cron.

1 string reference to 'update_status_manual_status'
update_status_menu in ./update_status.module
Implementation of hook_menu().

File

./update_status.module, line 661

Code

function update_status_manual_status() {
  if (update_status_refresh()) {
    drupal_set_message(t('Attempted to fetch information about all available new releases and updates.'));
  }
  else {
    drupal_set_message(t('Unable to fetch any information on available new releases and updates.'), 'error');
  }
  drupal_goto('admin/logs/updates');
}