function update_manual_status
Same name and namespace in other branches
- 6.x drupal-6.x/modules/update/update.fetch.inc \update_manual_status()
Page callback: Checks for updates and displays the update status report.
Manually checks the update status without the use of cron.
See also
3 string references to 'update_manual_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_menu in drupal-7.x/
modules/ update/ update.module - Implements hook_menu().
Archivo
- drupal-7.x/
modules/ update/ update.fetch.inc, line 15 - Code required only when fetching information about available updates.
Código
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');
}