mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PdfHandler
synced 2024-11-24 08:14:37 +00:00
Add missing context parameter
Change-Id: Ib1f5af01c13cd2a5a4570a4be411ae314a6fc541
This commit is contained in:
parent
e048f7f697
commit
330f70bb58
|
@ -325,9 +325,10 @@ class PdfHandler extends ImageHandler {
|
|||
|
||||
/**
|
||||
* @param $image File
|
||||
* @param bool|IContextSource $context Context to use (optional)
|
||||
* @return bool|int
|
||||
*/
|
||||
function formatMetadata( $image ) {
|
||||
function formatMetadata( $image, $context = false ) {
|
||||
$meta = $image->getMetadata();
|
||||
|
||||
if ( !$meta ) {
|
||||
|
|
Loading…
Reference in a new issue