You are here

function _upgrade_status_manual_status in Upgrade Status 5

Menu callback to manually check the upgrade status.

1 call to _upgrade_status_manual_status()
upgrade_status_manual_status in ./upgrade_status.module
Menu callback to manually check the upgrade status.

File

./upgrade_status.admin.inc, line 58
Checks to see if your installed modules are available for the next major release of Drupal.

Code

function _upgrade_status_manual_status() {
  if (upgrade_status_refresh()) {
    drupal_set_message(t('Fetched information about all available upgrades.'));
  }
  else {
    drupal_set_message(t('Unable to fetch any information on available upgrades.'), 'error');
  }
  drupal_goto('admin/logs/updates/upgrade');
}