aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDhruv Goel <dhruv.goel92@gmail.com>2012-07-01 05:06:51 +0530
committerDhruv <dhruv.goel92@gmail.com>2012-07-12 17:32:03 +0530
commit0e9174d168a82bde16ec59d615e19b85a50cebcf (patch)
tree4b0338797f4247ca3d735b82f67473cbee7049b4
parent06eeed058df75c41496c5306bfa35725c45cf5f3 (diff)
downloadforums-0e9174d168a82bde16ec59d615e19b85a50cebcf.tar
forums-0e9174d168a82bde16ec59d615e19b85a50cebcf.tar.gz
forums-0e9174d168a82bde16ec59d615e19b85a50cebcf.tar.bz2
forums-0e9174d168a82bde16ec59d615e19b85a50cebcf.tar.xz
forums-0e9174d168a82bde16ec59d615e19b85a50cebcf.zip
[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
-rw-r--r--phpBB/includes/acp/acp_search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_search.php b/phpBB/includes/acp/acp_search.php
index 54a3e7aaa1..82d9b021fe 100644
--- a/phpBB/includes/acp/acp_search.php
+++ b/phpBB/includes/acp/acp_search.php
@@ -598,7 +598,7 @@ class acp_search
{
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'];
return $error;