aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2012-08-14 17:33:44 +0530
committerDhruv <dhruv.goel92@gmail.com>2012-08-14 17:33:44 +0530
commitd0cdf445fba40401171b672ebd8fd1549b15a78f (patch)
treed129808f3f0f2c3b3c69215bd54ed7baf0d3671e
parenta3a359d80ac5a4594ac6e7eee0b851d40d6ccf66 (diff)
downloadforums-d0cdf445fba40401171b672ebd8fd1549b15a78f.tar
forums-d0cdf445fba40401171b672ebd8fd1549b15a78f.tar.gz
forums-d0cdf445fba40401171b672ebd8fd1549b15a78f.tar.bz2
forums-d0cdf445fba40401171b672ebd8fd1549b15a78f.tar.xz
forums-d0cdf445fba40401171b672ebd8fd1549b15a78f.zip
[ticket/11048] use protected instead of private in sphinx
PHPBB3-11048
-rw-r--r--phpBB/includes/search/fulltext_sphinx.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/phpBB/includes/search/fulltext_sphinx.php b/phpBB/includes/search/fulltext_sphinx.php
index 9b98bf038b..f586860311 100644
--- a/phpBB/includes/search/fulltext_sphinx.php
+++ b/phpBB/includes/search/fulltext_sphinx.php
@@ -28,20 +28,20 @@ define('SPHINX_CONNECT_WAIT_TIME', 300);
*/
class phpbb_search_fulltext_sphinx
{
- private $stats = array();
- private $split_words = array();
- private $id;
- private $indexes;
- private $sphinx;
- private $phpbb_root_path;
- private $php_ext;
- private $auth;
- private $config;
- private $db;
- private $db_tools;
- private $dbtype;
- private $user;
- private $config_file_data = '';
+ protected $stats = array();
+ protected $split_words = array();
+ protected $id;
+ protected $indexes;
+ protected $sphinx;
+ protected $phpbb_root_path;
+ protected $php_ext;
+ protected $auth;
+ protected $config;
+ protected $db;
+ protected $db_tools;
+ protected $dbtype;
+ protected $user;
+ protected $config_file_data = '';
public $search_query;
public $common_words = array();
@@ -121,7 +121,7 @@ class phpbb_search_fulltext_sphinx
*
* @return bool True if sphinx.conf content is correctly generated, false otherwise
*/
- private function config_generate()
+ protected function config_generate()
{
// Check if Database is supported by Sphinx
if ($this->db->sql_layer =='mysql' || $this->db->sql_layer == 'mysql4' || $this->db->sql_layer == 'mysqli')
@@ -712,7 +712,7 @@ class phpbb_search_fulltext_sphinx
/**
* Collects stats that can be displayed on the index maintenance page
*/
- private function get_stats()
+ protected function get_stats()
{
if ($this->index_created())
{