function update_status

cis7 update.report.inc update_status()
cle7 update.report.inc update_status()
elmsmedia7 update.report.inc update_status()
icor7 update.report.inc update_status()
meedjum_blog7 update.report.inc update_status()
mooc7 update.report.inc update_status()

Page callback: Generates a page about the update status of projects.

See also

update_menu()

1 call to update_status()
module_filter_update_status in sites/all/modules/ulmus/module_filter/module_filter.pages.inc
Wrapper function for update_status().
6 string references to 'update_status'
drupal-6.bare.database.php in modules/simpletest/tests/upgrade/drupal-6.bare.database.php
Bare installation of Drupal 6.17, for test purposes.
drupal-6.filled.database.php in modules/simpletest/tests/upgrade/drupal-6.filled.database.php
Filled installation of Drupal 6.17, for test purposes.
drupal-6.og.database.php in sites/all/modules/ulmus/og/tests/drupal-6.og.database.php
Filled installation of Drupal 6.17, for test purposes.
og-7.x-1.x.database.php in sites/all/modules/ulmus/og/tests/og-7.x-1.x.database.php
Filled installation of Drupal 7.0, for test purposes.
update_calculate_project_data in modules/update/update.compare.inc
Calculates the current update status of all projects on the site.

... See full list

File

modules/update/update.report.inc, line 13
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', array('data' => $data));
  }
  else {
    return theme('update_report', array('data' => _update_no_data()));
  }
}