| 6 update.fetch.inc | update_manual_status() |
| 7 update.fetch.inc | update_manual_status() |
| 8 update.fetch.inc | update_manual_status() |
Callback to manually check the update status without cron.
1 string reference to 'update_manual_status'
File
- modules/
update/ update.fetch.inc, line 11 - Code required only when fetching information about available updates.
Code
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');
}
Login or register to post comments