You are here

function upgrade_status_manual_status in Upgrade Status 6

Same name and namespace in other branches
  1. 5 upgrade_status.module \upgrade_status_manual_status()
  2. 7 upgrade_status.fetch.inc \upgrade_status_manual_status()

Callback to manually check the update status without cron.

1 string reference to 'upgrade_status_manual_status'
upgrade_status_menu in ./upgrade_status.module
Implementation of hook_menu().

File

./upgrade_status.fetch.inc, line 13

Code

function upgrade_status_manual_status() {
  if (_upgrade_status_refresh()) {
    drupal_set_message(t('Attempted to fetch information about all available new releases and upgrades.'));
  }
  else {
    drupal_set_message(t('Unable to fetch any information about available new releases and updates.'), 'error');
  }
  drupal_goto('admin/reports/updates/upgrade');
}