[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:
Dhruv Goel 2012-07-01 05:06:51 +05:30 committed by Dhruv
parent 06eeed058d
commit 0e9174d168

View file

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