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

PHPBB3-11048
This commit is contained in:
Dhruv 2012-08-14 17:35:24 +05:30
parent d0cdf445fb
commit 5698d03ead

View file

@ -22,11 +22,11 @@ if (!defined('IN_PHPBB'))
*/ */
class phpbb_search_fulltext_mysql extends phpbb_search_base class phpbb_search_fulltext_mysql extends phpbb_search_base
{ {
private $stats = array(); protected $stats = array();
private $split_words = array(); protected $split_words = array();
private $config; protected $config;
private $db; protected $db;
private $user; protected $user;
public $word_length = array(); public $word_length = array();
public $search_query; public $search_query;
public $common_words = array(); public $common_words = array();
@ -787,7 +787,7 @@ class phpbb_search_fulltext_mysql 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 (strpos($this->db->sql_layer, 'mysql') === false) if (strpos($this->db->sql_layer, 'mysql') === false)
{ {