function update_status

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

See also

update_menu()

1 string reference to 'update_status'
update_menu in modules/update/update.module
Implements hook_menu().

File

modules/update/update.report.inc, line 13

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(),
        ));
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.