diff options
author | Andy Chase <asperous2@gmail.com> | 2013-07-03 12:26:25 -0700 |
---|---|---|
committer | Andy Chase <asperous2@gmail.com> | 2013-07-05 14:09:57 -0700 |
commit | 30ebc03d143aaa7e3708b84b93b2e112351e70e5 (patch) | |
tree | 43f9b4c977b6e3bb1fa4916444e7c3546b583a47 /tests/session/testable_facade.php | |
parent | 17890a308bbecd295c6ebb92d55fc39e68aae34e (diff) | |
download | forums-30ebc03d143aaa7e3708b84b93b2e112351e70e5.tar forums-30ebc03d143aaa7e3708b84b93b2e112351e70e5.tar.gz forums-30ebc03d143aaa7e3708b84b93b2e112351e70e5.tar.bz2 forums-30ebc03d143aaa7e3708b84b93b2e112351e70e5.tar.xz forums-30ebc03d143aaa7e3708b84b93b2e112351e70e5.zip |
[ticket/11620] Remove unneeded functions from testable facade
There are functions listed in testable facade that don't have a lot of dependencies,
instead mostly just take the input and perform database functions on them.
These can be tested without a testable facade function and so will be removed.
PHPBB3-11620
Diffstat (limited to 'tests/session/testable_facade.php')
-rw-r--r-- | tests/session/testable_facade.php | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/tests/session/testable_facade.php b/tests/session/testable_facade.php index 6d2c1408c9..02af73174f 100644 --- a/tests/session/testable_facade.php +++ b/tests/session/testable_facade.php @@ -102,55 +102,6 @@ class phpbb_session_testable_facade return $session->session_create($user_id, $set_admin, $persist_login, $viewonline); } - function session_kill($new_session = true) - { - $session = $this->session_factory->get_session($this->db); - global $config, $request; - - } - - function session_gc() - { - $session = $this->session_factory->get_session($this->db); - global $config, $request; - - } - - function set_cookie($name, $cookiedata, $cookietime) - { - $session = $this->session_factory->get_session($this->db); - global $config, $request; - - } - - function check_ban($user_id = false, $user_ips = false, $user_email = false, $return = false) - { - $session = $this->session_factory->get_session($this->db); - global $config, $request; - - } - - function check_dnsbl($mode, $ip = false) - { - $session = $this->session_factory->get_session($this->db); - global $config, $request; - - } - - function set_login_key($user_id = false, $key = false, $user_ip = false) - { - $session = $this->session_factory->get_session($this->db); - global $config, $request; - - } - - function reset_login_keys($user_id = false) - { - $session = $this->session_factory->get_session($this->db); - global $config, $request; - - } - function validate_referer($check_script_path = false) { $session = $this->session_factory->get_session($this->db); |