aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/search/base.php')
-rw-r--r--phpBB/phpbb/search/base.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/phpBB/phpbb/search/base.php b/phpBB/phpbb/search/base.php
index 914cef9167..2f6b225b99 100644
--- a/phpBB/phpbb/search/base.php
+++ b/phpBB/phpbb/search/base.php
@@ -7,6 +7,8 @@
*
*/
+namespace phpbb\search;
+
/**
* @ignore
*/
@@ -23,12 +25,12 @@ define('SEARCH_RESULT_IN_CACHE', 1);
define('SEARCH_RESULT_INCOMPLETE', 2);
/**
-* phpbb_search_base
+* \phpbb\search\base
* optional base class for search plugins providing simple caching based on ACM
* and functions to retrieve ignore_words and synonyms
* @package search
*/
-class phpbb_search_base
+class base
{
var $ignore_words = array();
var $match_synonym = array();
@@ -181,7 +183,7 @@ class phpbb_search_base
$store_ids = array_slice($id_ary, 0, $length);
- // create a new resultset if there is none for this search_key yet
+ // create a new \resultset if there is none for this search_key yet
// or add the ids to the existing resultset
if (!($store = $cache->get('_search_results_' . $search_key)))
{