You are here

function _update_no_data in Drupal 6

Same name and namespace in other branches
  1. 8 core/modules/update/update.module \_update_no_data()
  2. 7 modules/update/update.module \_update_no_data()
  3. 9 core/modules/update/update.module \_update_no_data()
  4. 10 core/modules/update/update.module \_update_no_data()

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

2 calls to _update_no_data()
update_requirements in modules/update/update.module
Implementation of hook_requirements().
update_status in modules/update/update.report.inc
Menu callback. Generate a page about the update status of projects.

File

modules/update/update.module, line 323
The "Update status" module checks for available updates of Drupal core and any installed contributed modules and themes. It warns site administrators if newer releases are available via the system status report (admin/reports/status), the…

Code

function _update_no_data() {
  $destination = drupal_get_destination();
  return t('No information is available about potential new releases for currently installed modules and themes. To check for updates, you may need to <a href="@run_cron">run cron</a> or 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(
    '@run_cron' => url('admin/reports/status/run-cron', array(
      'query' => $destination,
    )),
    '@check_manually' => url('admin/reports/updates/check', array(
      'query' => $destination,
    )),
  ));
}