summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/common_test.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/tests/common_test.module')
-rw-r--r--modules/simpletest/tests/common_test.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/simpletest/tests/common_test.module b/modules/simpletest/tests/common_test.module
index 74866f098..8b6779463 100644
--- a/modules/simpletest/tests/common_test.module
+++ b/modules/simpletest/tests/common_test.module
@@ -63,9 +63,9 @@ function common_test_drupal_goto_land_fail() {
/**
* Implement hook_drupal_goto_alter().
*/
-function common_test_drupal_goto_alter(&$args) {
- if ($args['path'] == 'common-test/drupal_goto/fail') {
- $args['path'] = 'common-test/drupal_goto/redirect';
+function common_test_drupal_goto_alter(&$path, &$options, &$http_response_code) {
+ if ($path == 'common-test/drupal_goto/fail') {
+ $path = 'common-test/drupal_goto/redirect';
}
}