aboutsummaryrefslogtreecommitdiffstats
path: root/tests/session/testable_facade.php
diff options
context:
space:
mode:
authorAndy Chase <asperous2@gmail.com>2013-07-09 12:03:17 -0700
committerAndy Chase <asperous2@gmail.com>2013-07-09 12:03:17 -0700
commitc96b0b1a47cef409fecc3bd30792e0907a869baa (patch)
tree2c17fac849d66159beb003ddc98655bf224bc475 /tests/session/testable_facade.php
parentf51721e905af68624df422889f92a069abd7b750 (diff)
downloadforums-c96b0b1a47cef409fecc3bd30792e0907a869baa.tar
forums-c96b0b1a47cef409fecc3bd30792e0907a869baa.tar.gz
forums-c96b0b1a47cef409fecc3bd30792e0907a869baa.tar.bz2
forums-c96b0b1a47cef409fecc3bd30792e0907a869baa.tar.xz
forums-c96b0b1a47cef409fecc3bd30792e0907a869baa.zip
[ticket/11620] Removed unnecessary lines and whitespace
PHPBB3-11620
Diffstat (limited to 'tests/session/testable_facade.php')
-rw-r--r--tests/session/testable_facade.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/session/testable_facade.php b/tests/session/testable_facade.php
index d28201adc3..b9f61b80cb 100644
--- a/tests/session/testable_facade.php
+++ b/tests/session/testable_facade.php
@@ -24,8 +24,8 @@ require_once dirname(__FILE__) . '/../../phpBB/includes/session.php';
*/
class phpbb_session_testable_facade
{
- var $db;
- var $session_factory;
+ protected $db;
+ protected $session_factory;
function __construct($db, $session_factory) {
$this->db = $db;
@@ -59,12 +59,11 @@ class phpbb_session_testable_facade
$config['cookie_domain'] = $cookie_domain_config;
$request->overwrite('SERVER_NAME', $host, phpbb_request_interface::SERVER);
$request->overwrite('Host', $host, phpbb_request_interface::SERVER);
- // Note: There is a php_uname fallthrough in this method
+ // Note: There is a php_uname function used as a fallthrough
// that this function doesn't override
return $session->extract_current_hostname();
}
-
/**
*
* This function has a lot of dependencies, so instead of naming them all,