X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fsearch%2FSearchSqlite.php;h=af29212ba1e9ed1c00a49384edc0e8e59b22556d;hb=39f0f919c5708f4c672a8eb7e0891f50bf16883e;hp=3d4da42ce8c7550d3752a8d75ceb98778f24eed4;hpb=d3b580977d71e1bf93279301d90790cf3916d2a3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/search/SearchSqlite.php b/includes/search/SearchSqlite.php index 3d4da42ce8..af29212ba1 100644 --- a/includes/search/SearchSqlite.php +++ b/includes/search/SearchSqlite.php @@ -52,9 +52,9 @@ class SearchSqlite 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;