Same name and namespace in other branches
  1. 7.x modules/update/update.fetch.inc \update_manual_status()

Callback to manually check the update status without cron.

1 string reference to 'update_manual_status'
update_menu in modules/update/update.module
Implementation of hook_menu().

File

modules/update/update.fetch.inc, line 11
Code required only when fetching information about available updates.

Code

function update_manual_status() {
  if (_update_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 about available new releases and updates.'), 'error');
  }
  drupal_goto('admin/reports/updates');
}