Update suppressWarning()/restoreWarning() calls
[lhc/web/wiklou.git] / maintenance / benchmarks / benchmarkJSMinPlus.php
index fd66b3f..3aa7af7 100644 (file)
@@ -37,9 +37,9 @@ class BenchmarkJSMinPlus extends Benchmarker {
        }
 
        public function execute() {
-               MediaWiki\suppressWarnings();
+               Wikimedia\suppressWarnings();
                $content = file_get_contents( $this->getOption( 'file' ) );
-               MediaWiki\restoreWarnings();
+               Wikimedia\restoreWarnings();
                if ( $content === false ) {
                        $this->fatalError( 'Unable to open input file' );
                }