function update_status
7.x update.report.inc | update_status() |
6.x update.report.inc | update_status() |
Menu callback. Generate a page about the update status of projects.
2 string references to 'update_status'
- update_calculate_project_data in drupal-6.x/
modules/ update/ update.compare.inc - Given the installed projects and the available release data retrieved from remote servers, calculate the current status.
- update_menu in drupal-6.x/
modules/ update/ update.module - Implementation of hook_menu().
File
- drupal-6.x/
modules/ update/ update.report.inc, line 11 - Code required only when rendering the available updates report.
Code
function update_status() {
if ($available = update_get_available(TRUE)) {
module_load_include('inc', 'update', 'update.compare');
$data = update_calculate_project_data($available);
return theme('update_report', $data);
}
else {
return theme('update_report', _update_no_data());
}
}