From d39ad9ea64ff043b6cfb91c98ab32a0bc285ccc0 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Thu, 5 Dec 2013 12:06:45 +0100 Subject: [PATCH] Remove PHP4 style constructor Change-Id: Ic0eaac33286deef3e1ea8078ebc25cfc1cecf422 --- includes/media/FormatMetadata.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/media/FormatMetadata.php b/includes/media/FormatMetadata.php index f79284f0c7..fa0fa55e57 100644 --- a/includes/media/FormatMetadata.php +++ b/includes/media/FormatMetadata.php @@ -1875,7 +1875,7 @@ class FormatExif { /** * @param $meta array */ - function FormatExif( $meta ) { + function __construct( $meta ) { wfDeprecated( __METHOD__, '1.18' ); $this->meta = $meta; } -- 2.20.1