X-Git-Url: https://git.cyclocoop.org/%20%27.%28%24debut%20%20%20%24par_page%29.%27?a=blobdiff_plain;f=includes%2Fsearch%2FSearchEngine.php;h=a3a8abeb16822443463eb210da59ad32f56ef671;hb=7f2f49ad2368ae27f2d4db69b44c5f997197725e;hp=405db449e5f1608f68758de1e7695001482619f4;hpb=18741b93060ec6d60da860da2e48894dd42002cd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/search/SearchEngine.php b/includes/search/SearchEngine.php index 405db449e5..a3a8abeb16 100644 --- a/includes/search/SearchEngine.php +++ b/includes/search/SearchEngine.php @@ -281,12 +281,11 @@ abstract class SearchEngine { /** * Get chars legal for search - * NOTE: usage as static is deprecated and preserved only as BC measure * @param int $type type of search chars (see self::CHARS_ALL * and self::CHARS_NO_SYNTAX). Defaults to CHARS_ALL * @return string */ - public static function legalSearchChars( $type = self::CHARS_ALL ) { + public function legalSearchChars( $type = self::CHARS_ALL ) { return "A-Za-z_'.0-9\\x80-\\xFF\\-"; } @@ -894,13 +893,3 @@ abstract class SearchEngine { } } } - -/** - * Dummy class to be used when non-supported Database engine is present. - * @todo FIXME: Dummy class should probably try something at least mildly useful, - * such as a LIKE search through titles. - * @ingroup Search - */ -class SearchEngineDummy extends SearchEngine { - // no-op -}