aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search/fulltext_postgres.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/search/fulltext_postgres.php')
-rw-r--r--phpBB/includes/search/fulltext_postgres.php18
1 files changed, 12 insertions, 6 deletions
diff --git a/phpBB/includes/search/fulltext_postgres.php b/phpBB/includes/search/fulltext_postgres.php
index 18a5b402bf..6b95a4ff67 100644
--- a/phpBB/includes/search/fulltext_postgres.php
+++ b/phpBB/includes/search/fulltext_postgres.php
@@ -9,6 +9,7 @@
*/
/**
+* @ignore
*/
if (!defined('IN_PHPBB'))
{
@@ -16,16 +17,11 @@ if (!defined('IN_PHPBB'))
}
/**
-* @ignore
-*/
-include_once($phpbb_root_path . 'includes/search/search.' . $phpEx);
-
-/**
* fulltext_postgres
* Fulltext search for PostgreSQL
* @package search
*/
-class fulltext_postgres extends search_backend
+class phpbb_search_fulltext_postgres extends phpbb_search_base
{
var $stats = array();
var $word_length = array();
@@ -76,6 +72,16 @@ class fulltext_postgres extends search_backend
}
/**
+ * Returns the name of this search backend to be displayed to administrators
+ *
+ * @return string Name
+ */
+ function get_name()
+ {
+ return 'PostgreSQL Fulltext';
+ }
+
+ /**
* Checks for correct PostgreSQL version and stores min/max word length in the config
*/
function init()