Update suppressWarning()/restoreWarning() calls
[lhc/web/wiklou.git] / includes / libs / filebackend / HTTPFileStreamer.php
index 9730acb..9f8959c 100644 (file)
@@ -84,9 +84,9 @@ class HTTPFileStreamer {
                                is_int( $header ) ? HttpStatus::header( $header ) : header( $header );
                        };
 
-               MediaWiki\suppressWarnings();
+               Wikimedia\suppressWarnings();
                $info = stat( $this->path );
-               MediaWiki\restoreWarnings();
+               Wikimedia\restoreWarnings();
 
                if ( !is_array( $info ) ) {
                        if ( $sendErrors ) {