mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[feature/sphinx-fulltext-search] use keywords_search instead of get_name
using keyword_search method instead of get_name to distinguish between the search backend classes present in includes/search and other helper classes. PHPBB3-10946
This commit is contained in:
parent
06eeed058d
commit
0e9174d168
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ class acp_search
|
||||||
{
|
{
|
||||||
global $phpbb_root_path, $phpEx, $user;
|
global $phpbb_root_path, $phpEx, $user;
|
||||||
|
|
||||||
if (!class_exists($type) || !method_exists($type, 'get_name'))
|
if (!class_exists($type) || !method_exists($type, 'keyword_search'))
|
||||||
{
|
{
|
||||||
$error = $user->lang['NO_SUCH_SEARCH_MODULE'];
|
$error = $user->lang['NO_SUCH_SEARCH_MODULE'];
|
||||||
return $error;
|
return $error;
|
||||||
|
|
Loading…
Add table
Reference in a new issue