_update_no_data

Versions
6 – 7
_update_no_data()

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

▾ 2 functions call _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.

Code

modules/update/update.module, line 323

<?php
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)),
  ));
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.