[ticket/11048] use protected instead of private in pgsql fulltext

PHPBB3-11048
This commit is contained in:
Dhruv 2012-08-14 17:47:01 +05:30
parent 469d808365
commit a9fd98c136

View file

@ -22,15 +22,15 @@ if (!defined('IN_PHPBB'))
*/ */
class phpbb_search_fulltext_postgres extends phpbb_search_base class phpbb_search_fulltext_postgres extends phpbb_search_base
{ {
private $stats = array(); protected $stats = array();
private $split_words = array(); protected $split_words = array();
private $tsearch_usable = false; protected $tsearch_usable = false;
private $version; protected $version;
private $tsearch_query; protected $tsearch_query;
private $phrase_search = false; protected $phrase_search = false;
private $config; protected $config;
private $db; protected $db;
private $user; protected $user;
public $search_query; public $search_query;
public $common_words = array(); public $common_words = array();
public $word_length = array(); public $word_length = array();
@ -714,7 +714,7 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
/** /**
* Computes the stats and store them in the $this->stats associative array * Computes the stats and store them in the $this->stats associative array
*/ */
private function get_stats() protected function get_stats()
{ {
if ($this->db->sql_layer != 'postgres') if ($this->db->sql_layer != 'postgres')
{ {