X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Flibs%2Ffilebackend%2FHTTPFileStreamer.php;h=9f8959cba0b4e4398b6aaed10f87bf822c1ca028;hp=9730acb8cdc8b2c615ed703ab22841c571ed5bf2;hb=39f0f919c5708f4c672a8eb7e0891f50bf16883e;hpb=3f1a52805e3cf801eda0357ee236de6b49a31c85 diff --git a/includes/libs/filebackend/HTTPFileStreamer.php b/includes/libs/filebackend/HTTPFileStreamer.php index 9730acb8cd..9f8959cba0 100644 --- a/includes/libs/filebackend/HTTPFileStreamer.php +++ b/includes/libs/filebackend/HTTPFileStreamer.php @@ -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 ) {