diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-29 04:07:52 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-29 04:07:52 +0000 |
commit | 0083fcb5e0b65aa416b8eb0cb5b27dcd74cf86c4 (patch) | |
tree | 3a66296cca9d0d5f55f9597356dc329d248e28e8 | |
parent | 051f470e9ee2958bc9ab93d02e5d9c512239d7e8 (diff) | |
download | brdo-0083fcb5e0b65aa416b8eb0cb5b27dcd74cf86c4.tar.gz brdo-0083fcb5e0b65aa416b8eb0cb5b27dcd74cf86c4.tar.bz2 |
#991660 by bblake: Remove unnecessary check_plain calls from authorize.php
-rw-r--r-- | authorize.php | 4 | ||||
-rw-r--r-- | includes/authorize.inc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/authorize.php b/authorize.php index fdceeba02..63a60e273 100644 --- a/authorize.php +++ b/authorize.php @@ -113,7 +113,7 @@ if (authorize_access_allowed()) { } if (isset($_SESSION['authorize_operation']['page_title'])) { - drupal_set_title(check_plain($_SESSION['authorize_operation']['page_title'])); + drupal_set_title($_SESSION['authorize_operation']['page_title']); } else { drupal_set_title(t('Authorize file system changes')); @@ -128,7 +128,7 @@ if (authorize_access_allowed()) { unset($_SESSION['authorize_filetransfer_info']); if (!empty($results['page_title'])) { - drupal_set_title(check_plain($results['page_title'])); + drupal_set_title($results['page_title']); } if (!empty($results['page_message'])) { drupal_set_message($results['page_message']['message'], $results['page_message']['type']); diff --git a/includes/authorize.inc b/includes/authorize.inc index 927cec719..5c4d1f0b4 100644 --- a/includes/authorize.inc +++ b/includes/authorize.inc @@ -272,7 +272,7 @@ function authorize_run_operation($filetransfer) { unset($_SESSION['authorize_operation']); if (!empty($operation['page_title'])) { - drupal_set_title(check_plain($operation['page_title'])); + drupal_set_title($operation['page_title']); } require_once DRUPAL_ROOT . '/' . $operation['file']; |