diff --git a/PdfHandler_body.php b/PdfHandler_body.php index 00d75eb..494dc9c 100644 --- a/PdfHandler_body.php +++ b/PdfHandler_body.php @@ -80,7 +80,6 @@ class PdfHandler extends ImageHandler { } protected function doThumbError( $width, $height, $msg ) { - wfLoadExtensionMessages( 'PdfHandler' ); return new MediaTransformError( 'thumbnail_error', $width, $height, wfMsgForContent( $msg ) ); }