function _update_no_data

7.x update.module _update_no_data()
6.x update.module _update_no_data()
8.x update.module _update_no_data()

Returns a warning message when there is no data about available updates.

2 calls to _update_no_data()
update_requirements in drupal/modules/update/update.install
Implements hook_requirements().
update_status in drupal/modules/update/update.report.inc
Page callback: Generates a page about the update status of projects.

File

drupal/modules/update/update.module, line 368
Handles updates of Drupal core and contributed projects.

Code

function _update_no_data() {
  $destination = drupal_get_destination();
  return t('No update information available. <a href="@run_cron">Run cron</a> or <a href="@check_manually">check manually</a>.', array(
    '@run_cron' => url('admin/reports/status/run-cron', array('query' => $destination)),
    '@check_manually' => url('admin/reports/updates/check', array('query' => $destination)),
  ));
}