mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/11174] rename native wrapper class
native wrapper class is limited to the native search backend hence renamed. the one used with mysql can be used with pgsql too. PHPBB3-11174
This commit is contained in:
parent
6a76b85cbc
commit
615582f0df
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
function phpbb_search_wrapper($class)
|
||||
function phpbb_native_search_wrapper($class)
|
||||
{
|
||||
$wrapped = $class . '_wrapper';
|
||||
if (!class_exists($wrapped))
|
||||
|
@ -45,7 +45,7 @@ class phpbb_search_native_test extends phpbb_database_test_case
|
|||
|
||||
$this->db = $this->new_dbal();
|
||||
$error = null;
|
||||
$class = phpbb_search_wrapper('phpbb_search_fulltext_native');
|
||||
$class = phpbb_native_search_wrapper('phpbb_search_fulltext_native');
|
||||
$this->search = new $class($error, $phpbb_root_path, $phpEx, null, $config, $this->db, $user);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue