mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PdfHandler
synced 2024-11-14 11:25:15 +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 ) {
|
protected function doThumbError( $width, $height, $msg ) {
|
||||||
wfLoadExtensionMessages( 'PdfHandler' );
|
|
||||||
return new MediaTransformError( 'thumbnail_error',
|
return new MediaTransformError( 'thumbnail_error',
|
||||||
$width, $height, wfMsgForContent( $msg ) );
|
$width, $height, wfMsgForContent( $msg ) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue