function _update_no_data
7.x update.module | _update_no_data() |
6.x 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 drupal-6.x/
modules/ update/ update.module - Implementation of hook_requirements().
- update_status in drupal-6.x/
modules/ update/ update.report.inc - Menu callback. Generate a page about the update status of projects.
File
- drupal-6.x/
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)),
));
}