1.20.x update.module _update_no_data()

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

File

modules/update/update.module, line 284
Handles update checking for Backdrop core and contributed projects.

Code

function _update_no_data() {
  $destination = backdrop_get_destination();
  return t('No update data available.') . ' ' . l(t('Check manually for updates'), 'admin/reports/updates/check', array('query' => $destination)) . '.';
}