From 330f70bb5866446b3a30b32000293ceb6fd3a11c Mon Sep 17 00:00:00 2001 From: Gilles Dubuc Date: Tue, 17 Mar 2015 18:38:28 +0100 Subject: [PATCH] Add missing context parameter Change-Id: Ib1f5af01c13cd2a5a4570a4be411ae314a6fc541 --- PdfHandler_body.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PdfHandler_body.php b/PdfHandler_body.php index 2a08a95..d69f667 100644 --- a/PdfHandler_body.php +++ b/PdfHandler_body.php @@ -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 ) {