Page callback: Checks for updates and displays the update status report.
Manually checks the update status without the use of cron.
function update_manual_status() {
_update_refresh();
$batch = array(
'operations' => array(
array(
'update_fetch_data_batch',
array(),
),
),
'finished' => 'update_fetch_data_finished',
'title' => t('Checking available update data'),
'progress_message' => t('Trying to check available update data ...'),
'error_message' => t('Error checking available update data.'),
'file' => drupal_get_path('module', 'update') . '/update.fetch.inc',
);
batch_set($batch);
batch_process('admin/reports/updates');
}