From 222b01f5169f1c7e69762e0e8904c24f78f71882 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 28 Jul 2010 11:52:48 +0200 Subject: update to MediaWiki 1.16.0 --- includes/filerepo/Image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/filerepo/Image.php') diff --git a/includes/filerepo/Image.php b/includes/filerepo/Image.php index 5207bb4b..08ce219a 100644 --- a/includes/filerepo/Image.php +++ b/includes/filerepo/Image.php @@ -19,7 +19,7 @@ class Image extends LocalFile { */ static function newFromTitle( $title, $time = false ) { wfDeprecated( __METHOD__ ); - $img = wfFindFile( $title, $time ); + $img = wfFindFile( $title, array( 'time' => $time ) ); if ( !$img ) { $img = wfLocalFile( $title ); } @@ -44,7 +44,7 @@ class Image extends LocalFile { } return $img; } else { - return NULL; + return null; } } -- cgit v1.2.2