Add missing context parameter

Change-Id: Ib1f5af01c13cd2a5a4570a4be411ae314a6fc541
This commit is contained in:
Gilles Dubuc 2015-03-17 18:38:28 +01:00
parent e048f7f697
commit 330f70bb58

View file

@ -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 ) {