removed obsolete search term validation used in validation
authorJure Kajzer <freakolowsky@users.mediawiki.org>
Mon, 18 Jan 2010 15:34:26 +0000 (15:34 +0000)
committerJure Kajzer <freakolowsky@users.mediawiki.org>
Mon, 18 Jan 2010 15:34:26 +0000 (15:34 +0000)
includes/search/SearchOracle.php

index 0c6cf37..520fe6f 100644 (file)
@@ -188,7 +188,6 @@ class SearchOracle extends SearchEngine {
                        foreach($m as $terms) {
                                // Search terms in all variant forms, only
                                // apply on wiki with LanguageConverter
-                               if(in_array($wgContLang->stripForSearch( $terms[2] ), $cc))
                                $temp_terms = $wgContLang->autoConvertToAllVariants( $terms[2] );
                                if( is_array( $temp_terms )) {
                                        $temp_terms = array_unique( array_values( $temp_terms ));