1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02: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:
Dhruv
2012-11-12 13:47:33 +01:00
committed by Oleg Pudeyev
parent 6a76b85cbc
commit 615582f0df

View File

@@ -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);
}