X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsearch%2FSearchOracle.php;h=2603161170310bbbd07a6cbf32640f05ebefd422;hb=9469cb2abe922fe95668de8dd19764341844fca6;hp=a84796542f08163ccbb764aa3e5a9d3f9907988a;hpb=f10c9815e69b59844c178d218640bd1ac0435896;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/search/SearchOracle.php b/includes/search/SearchOracle.php index a84796542f..2603161170 100644 --- a/includes/search/SearchOracle.php +++ b/includes/search/SearchOracle.php @@ -3,7 +3,7 @@ * Oracle search engine * * Copyright © 2004 Brion Vibber - * http://www.mediawiki.org/ + * https://www.mediawiki.org/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ * Search engine hook base class for Oracle (ConText). * @ingroup Search */ -class SearchOracle extends SearchEngine { +class SearchOracle extends SearchDatabase { private $reservedWords = array( 'ABOUT' => 1, @@ -59,14 +59,6 @@ class SearchOracle extends SearchEngine { 'WITHIN' => 1, ); - /** - * Creates an instance of this class - * @param $db DatabasePostgres: database object - */ - function __construct( $db ) { - parent::__construct( $db ); - } - /** * Perform a full text search query and return a result set. * @@ -238,6 +230,7 @@ class SearchOracle extends SearchEngine { $t = preg_replace( '/([-&|])/', '\\\\$1', $t ); return $t; } + /** * Create or update the search index record for the given page. * Title and text should be pre-processed.