From 0000bea2f55b1b24a4045087074d208cdcf9b445 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 9 Sep 2010 00:53:50 +0000 Subject: [PATCH] (bug 25102) Image.php throws E_STRICT. Yes, this breaks back-compat, but nothing uses this anyway...mark it for removal in 1.18 --- includes/filerepo/Image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/filerepo/Image.php b/includes/filerepo/Image.php index 799421ae6e..59a07ef9a8 100644 --- a/includes/filerepo/Image.php +++ b/includes/filerepo/Image.php @@ -8,7 +8,7 @@ /** * Backwards compatibility class * - * @deprecated + * @deprecated. Will be removed in 1.18! * @ingroup FileRepo */ class Image extends LocalFile { @@ -23,7 +23,7 @@ class Image extends LocalFile { * Do not use in core code. * @deprecated */ - static function newFromTitle( $title, $time = false ) { + static function newFromTitle( $title, $repo, $time = null ) { wfDeprecated( __METHOD__ ); $img = wfFindFile( $title, array( 'time' => $time ) ); if ( !$img ) { -- 2.20.1