X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fmedia%2FDjVuImage.php;h=adcac2523ab90f966e2a58ff99fc8aea68e2c32a;hb=bcec1cd8b51b15287665b47cd035b958495a735a;hp=57b5b36c14217c852550c314fa7d069ec17388f8;hpb=32b80f38ffc0baeabfff203bd6095a844da31048;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/DjVuImage.php b/includes/media/DjVuImage.php index 57b5b36c14..adcac2523a 100644 --- a/includes/media/DjVuImage.php +++ b/includes/media/DjVuImage.php @@ -40,8 +40,6 @@ class DjVuImage { const DJVUTXT_MEMORY_LIMIT = 300000; /** - * Constructor - * * @param string $filename The DjVu file name. */ function __construct( $filename ) { @@ -119,9 +117,9 @@ class DjVuImage { } function getInfo() { - MediaWiki\suppressWarnings(); + Wikimedia\suppressWarnings(); $file = fopen( $this->mFilename, 'rb' ); - MediaWiki\restoreWarnings(); + Wikimedia\restoreWarnings(); if ( $file === false ) { wfDebug( __METHOD__ . ": missing or failed file read\n" );