aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-07-11 15:02:07 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-07-11 15:02:07 +0200
commit753dc62267118e44b16653113521fe6d0a360720 (patch)
tree5f96411a594a61781de9247a68d36ae626b964fb /phpBB
parent9aed758c1397c31b979f4aca51249c73d21bd6f5 (diff)
downloadforums-753dc62267118e44b16653113521fe6d0a360720.tar
forums-753dc62267118e44b16653113521fe6d0a360720.tar.gz
forums-753dc62267118e44b16653113521fe6d0a360720.tar.bz2
forums-753dc62267118e44b16653113521fe6d0a360720.tar.xz
forums-753dc62267118e44b16653113521fe6d0a360720.zip
[ticket/9657] Fix unit tests
PHPBB3-9657
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/content_visibility.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/phpBB/includes/content_visibility.php b/phpBB/includes/content_visibility.php
index edf6aa3b31..43efef5d7f 100644
--- a/phpBB/includes/content_visibility.php
+++ b/phpBB/includes/content_visibility.php
@@ -26,19 +26,19 @@ class phpbb_content_visibility
* Database object
* @var phpbb_db_driver
*/
- protected $this->db;
+ protected $db;
/**
* User object
* @var phpbb_user
*/
- protected $this->user;
+ protected $user;
/**
* Auth object
* @var phpbb_auth
*/
- protected $this->auth;
+ protected $auth;
/**
* phpBB root path
@@ -55,18 +55,18 @@ class phpbb_content_visibility
/**
* Constructor
*
- * @param phpbb_auth $this->auth Auth object
- * @param phpbb_db_driver $this->db Database object
- * @param phpbb_user $this->user User object
+ * @param phpbb_auth $auth Auth object
+ * @param phpbb_db_driver $db Database object
+ * @param phpbb_user $user User object
* @param string $phpbb_root_path Root path
* @param string $php_ext PHP Extension
* @return null
*/
- public function __construct($this->auth, phpbb_db_driver $this->db, $this->user, $phpbb_root_path, $phpEx, $forums_table, $posts_table, $topics_table, $users_table)
+ public function __construct($auth, phpbb_db_driver $db, $user, $phpbb_root_path, $phpEx, $forums_table, $posts_table, $topics_table, $users_table)
{
- $this->auth = $this->auth;
- $this->db = $this->db;
- $this->user = $this->user;
+ $this->auth = $auth;
+ $this->db = $db;
+ $this->user = $user;
$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = $php_ext;
$this->forums_table = $forums_table;