summaryrefslogtreecommitdiff
path: root/authorize.php
diff options
context:
space:
mode:
Diffstat (limited to 'authorize.php')
-rw-r--r--authorize.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/authorize.php b/authorize.php
index dca410a14..fdceeba02 100644
--- a/authorize.php
+++ b/authorize.php
@@ -125,7 +125,7 @@ if (authorize_access_allowed()) {
// Clear the session out.
unset($_SESSION['authorize_results']);
unset($_SESSION['authorize_operation']);
- unset($_SESSION['authorize_filetransfer_backends']);
+ unset($_SESSION['authorize_filetransfer_info']);
if (!empty($results['page_title'])) {
drupal_set_title(check_plain($results['page_title']));
@@ -154,7 +154,7 @@ if (authorize_access_allowed()) {
$output = _batch_page();
}
else {
- if (empty($_SESSION['authorize_operation']) || empty($_SESSION['authorize_filetransfer_backends'])) {
+ if (empty($_SESSION['authorize_operation']) || empty($_SESSION['authorize_filetransfer_info'])) {
$output = t('It appears you have reached this page in error.');
}
elseif (!$batch = batch_get()) {