mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-20 08:31:32 +02: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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user