summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/update/update.authorize.inc3
-rw-r--r--modules/update/update.manager.inc4
2 files changed, 4 insertions, 3 deletions
diff --git a/modules/update/update.authorize.inc b/modules/update/update.authorize.inc
index c1e9c9244..16029568b 100644
--- a/modules/update/update.authorize.inc
+++ b/modules/update/update.authorize.inc
@@ -218,6 +218,7 @@ function update_authorize_update_batch_finished($success, $results) {
$_SESSION['authorize_results']['page_message'] = $page_message;
$_SESSION['authorize_results']['messages'] = $results['log'];
$_SESSION['authorize_results']['tasks'] = $results['tasks'];
+ $_SESSION['authorize_operation']['page_title'] = t('Update manager');
}
/**
@@ -265,7 +266,7 @@ function update_authorize_install_batch_finished($success, $results) {
$_SESSION['authorize_results']['page_message'] = $page_message;
$_SESSION['authorize_results']['messages'] = $results['log'];
$_SESSION['authorize_results']['tasks'] = $results['tasks'];
- $_SESSION['authorize_operation']['page_title'] = t('Drupal Update Manager');
+ $_SESSION['authorize_operation']['page_title'] = t('Update manager');
}
/**
diff --git a/modules/update/update.manager.inc b/modules/update/update.manager.inc
index 1bc3ce586..d149027bd 100644
--- a/modules/update/update.manager.inc
+++ b/modules/update/update.manager.inc
@@ -425,7 +425,7 @@ function update_manager_update_ready_form_submit($form, &$form_state) {
// credentials and invoke update_authorize_run_update() indirectly with
// whatever FileTransfer object authorize.php creates for us.
else {
- system_authorized_init('update_authorize_run_update', drupal_get_path('module', 'update') . '/update.authorize.inc', array($updates));
+ system_authorized_init('update_authorize_run_update', drupal_get_path('module', 'update') . '/update.authorize.inc', array($updates), t('Update manager'));
$form_state['redirect'] = system_authorized_get_url();
}
}
@@ -602,7 +602,7 @@ function update_manager_install_form_submit($form, &$form_state) {
// credentials and invoke update_authorize_run_install() indirectly with
// whatever FileTransfer object authorize.php creates for us.
else {
- system_authorized_init('update_authorize_run_install', drupal_get_path('module', 'update') . '/update.authorize.inc', $arguments);
+ system_authorized_init('update_authorize_run_install', drupal_get_path('module', 'update') . '/update.authorize.inc', $arguments, t('Update manager'));
$form_state['redirect'] = system_authorized_get_url();
}
}