You are here

function _upgrade_status_status in Upgrade Status 5

Menu callback. Generate a page about the upgrade status of projects.

1 call to _upgrade_status_status()
upgrade_status_status in ./upgrade_status.module
Menu callback. Generate a page about the upgrade status of projects.

File

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

Code

function _upgrade_status_status() {
  if ($available = upgrade_status_get_available()) {
    $data = upgrade_status_calculate_project_data($available);
    return theme('upgrade_status_report', $data);
  }
  else {
    return theme('upgrade_status_report', t('No information is available about potential new releases for currently installed modules. To check for updates, you can <a href="@check_manually">check manually</a>. Please note that checking for available updates can take a long time, so please be patient.', array(
      '@check_manually' => url('admin/logs/updates/check', $destination),
    )));
  }
}