summaryrefslogtreecommitdiff
path: root/modules/update
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-01 07:02:14 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-01 07:02:14 +0000
commit35dfb42fa675a59217a5643371dcf2ba6cfc727a (patch)
tree9ac6ef4604f03a1b9597ef48420d607f99abca49 /modules/update
parent6d0ca97b8f8123a27226b946156b2178f33066f2 (diff)
downloadbrdo-35dfb42fa675a59217a5643371dcf2ba6cfc727a.tar.gz
brdo-35dfb42fa675a59217a5643371dcf2ba6cfc727a.tar.bz2
#602484 follow-up by rschwab, dww: Fixes to update manager page title.
Diffstat (limited to 'modules/update')
-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();
}
}