X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsearch%2FSearchMySQL.php;h=8e705c1fe87a2a7fbca768381a896ead3bae6a8a;hb=91e63a1332fb589f8f3cc47b4466f24943aa8bd4;hp=2810bcef7e47463bf78600be27ed38ee4ec0619b;hpb=3d95da4952619f9f773298c4461ccfc646fb18a9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/search/SearchMySQL.php b/includes/search/SearchMySQL.php index 2810bcef7e..8e705c1fe8 100644 --- a/includes/search/SearchMySQL.php +++ b/includes/search/SearchMySQL.php @@ -54,9 +54,9 @@ class SearchMySQL extends SearchDatabase { if ( preg_match_all( '/([-+<>~]?)(([' . $lc . ']+)(\*?)|"[^"]*")/', $filteredText, $m, PREG_SET_ORDER ) ) { foreach ( $m as $bits ) { - MediaWiki\suppressWarnings(); + Wikimedia\suppressWarnings(); list( /* all */, $modifier, $term, $nonQuoted, $wildcard ) = $bits; - MediaWiki\restoreWarnings(); + Wikimedia\restoreWarnings(); if ( $nonQuoted != '' ) { $term = $nonQuoted;