mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PdfHandler
synced 2024-11-12 01:18:26 +00:00
Large commit. Removed 800+ references to no-op wfLoadExtensionMessages()
This commit is contained in:
parent
c438835cd8
commit
ecdda8f2ff
|
@ -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 ) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue