mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11048] use protected instead of private in sphinx
PHPBB3-11048
This commit is contained in:
parent
a3a359d80a
commit
d0cdf445fb
1 changed files with 16 additions and 16 deletions
|
@ -28,20 +28,20 @@ define('SPHINX_CONNECT_WAIT_TIME', 300);
|
||||||
*/
|
*/
|
||||||
class phpbb_search_fulltext_sphinx
|
class phpbb_search_fulltext_sphinx
|
||||||
{
|
{
|
||||||
private $stats = array();
|
protected $stats = array();
|
||||||
private $split_words = array();
|
protected $split_words = array();
|
||||||
private $id;
|
protected $id;
|
||||||
private $indexes;
|
protected $indexes;
|
||||||
private $sphinx;
|
protected $sphinx;
|
||||||
private $phpbb_root_path;
|
protected $phpbb_root_path;
|
||||||
private $php_ext;
|
protected $php_ext;
|
||||||
private $auth;
|
protected $auth;
|
||||||
private $config;
|
protected $config;
|
||||||
private $db;
|
protected $db;
|
||||||
private $db_tools;
|
protected $db_tools;
|
||||||
private $dbtype;
|
protected $dbtype;
|
||||||
private $user;
|
protected $user;
|
||||||
private $config_file_data = '';
|
protected $config_file_data = '';
|
||||||
public $search_query;
|
public $search_query;
|
||||||
public $common_words = array();
|
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
|
* @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
|
// Check if Database is supported by Sphinx
|
||||||
if ($this->db->sql_layer =='mysql' || $this->db->sql_layer == 'mysql4' || $this->db->sql_layer == 'mysqli')
|
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
|
* Collects stats that can be displayed on the index maintenance page
|
||||||
*/
|
*/
|
||||||
private function get_stats()
|
protected function get_stats()
|
||||||
{
|
{
|
||||||
if ($this->index_created())
|
if ($this->index_created())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue