function update_status
Same name and namespace in other branches
- 6.x drupal-6.x/modules/update/update.report.inc \update_status()
Page callback: Generates a page about the update status of projects.
See also
4 string references to 'update_status'
- drupal-6.bare.database.php in drupal-7.x/
modules/ simpletest/ tests/ upgrade/ drupal-6.bare.database.php - Bare installation of Drupal 6.17, for test purposes.
- drupal-6.filled.database.php in drupal-7.x/
modules/ simpletest/ tests/ upgrade/ drupal-6.filled.database.php - Filled installation of Drupal 6.17, for test purposes.
- update_calculate_project_data in drupal-7.x/
modules/ update/ update.compare.inc - Calculates the current update status of all projects on the site.
- update_menu in drupal-7.x/
modules/ update/ update.module - Implements hook_menu().
Archivo
- drupal-7.x/
modules/ update/ update.report.inc, line 13 - Code required only when rendering the available updates report.
Código
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', array('data' => $data));
}
else {
return theme('update_report', array('data' => _update_no_data()));
}
}