aboutsummaryrefslogtreecommitdiffstats
path: root/tests/session/testable_facade.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-09-17 22:00:06 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-09-17 22:00:06 -0500
commit9c535da52888d60aecef9799062974e375f22f82 (patch)
tree10535287df7d56dbb2111b655a653f78a3ffc1f1 /tests/session/testable_facade.php
parentf4317bc864f9c19a15de83ea30cb46a04c95a295 (diff)
downloadforums-9c535da52888d60aecef9799062974e375f22f82.tar
forums-9c535da52888d60aecef9799062974e375f22f82.tar.gz
forums-9c535da52888d60aecef9799062974e375f22f82.tar.bz2
forums-9c535da52888d60aecef9799062974e375f22f82.tar.xz
forums-9c535da52888d60aecef9799062974e375f22f82.zip
[ticket/11850] page_name contains controller request rather than query string
Fixing tests PHPBB3-11850
Diffstat (limited to 'tests/session/testable_facade.php')
-rw-r--r--tests/session/testable_facade.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/session/testable_facade.php b/tests/session/testable_facade.php
index 9f0a3c5f59..e9d16999ce 100644
--- a/tests/session/testable_facade.php
+++ b/tests/session/testable_facade.php
@@ -33,21 +33,6 @@ class phpbb_session_testable_facade
$this->session_factory = $session_factory;
}
- function extract_current_page(
- $root_path,
- $php_self,
- $query_string,
- $request_uri
- )
- {
- $this->session_factory->get_session($this->db);
- global $request;
- $request->overwrite('PHP_SELF', $php_self, phpbb_request_interface::SERVER);
- $request->overwrite('QUERY_STRING', $query_string, phpbb_request_interface::SERVER);
- $request->overwrite('REQUEST_URI', $request_uri, phpbb_request_interface::SERVER);
- return phpbb_session::extract_current_page($root_path);
- }
-
function extract_current_hostname(
$host,
$server_name_config,
@@ -139,4 +124,3 @@ class phpbb_session_testable_facade
return $session->validate_referer($check_script_path);
}
}
-