summaryrefslogtreecommitdiff
path: root/modules/update/update.authorize.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-01 23:02:13 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-01 23:02:13 +0000
commit14c1c505e0b5915ff85f0698afc209f530fd83fb (patch)
treefb56f39b8ccf4ea846977b50c07845b5b80cc911 /modules/update/update.authorize.inc
parentfedcd1acf0f1ee126febe211e8a1f47c27282956 (diff)
downloadbrdo-14c1c505e0b5915ff85f0698afc209f530fd83fb.tar.gz
brdo-14c1c505e0b5915ff85f0698afc209f530fd83fb.tar.bz2
#607008 by dww, Gerhard Killesreiter, JacobSingh, and chx: Changed Fix bugs in https support and use https for authorize.php if available.
Diffstat (limited to 'modules/update/update.authorize.inc')
-rw-r--r--modules/update/update.authorize.inc9
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/update/update.authorize.inc b/modules/update/update.authorize.inc
index 6b7c797a4..0a5514d9d 100644
--- a/modules/update/update.authorize.inc
+++ b/modules/update/update.authorize.inc
@@ -24,8 +24,6 @@
* - 'local_url': The locally installed location of new code to update with.
*/
function update_authorize_run_update($filetransfer, $projects) {
- global $base_url;
-
$operations = array();
foreach ($projects as $project => $project_info) {
$operations[] = array(
@@ -49,7 +47,7 @@ function update_authorize_run_update($filetransfer, $projects) {
batch_set($batch);
// Invoke the batch via authorize.php.
- batch_process($base_url . '/authorize.php', $base_url . '/authorize.php?batch=1');
+ system_authorized_batch_process();
}
/**
@@ -67,8 +65,6 @@ function update_authorize_run_update($filetransfer, $projects) {
* already been downloaded and extracted into.
*/
function update_authorize_run_install($filetransfer, $project, $updater_name, $local_url) {
- global $base_url;
-
$operations[] = array(
'update_authorize_batch_copy_project',
array(
@@ -91,8 +87,7 @@ function update_authorize_run_install($filetransfer, $project, $updater_name, $l
batch_set($batch);
// Invoke the batch via authorize.php.
- batch_process($base_url . '/authorize.php', $base_url . '/authorize.php?batch=1');
-
+ system_authorized_batch_process();
}
/**