From: Aaron Schulz Date: Wed, 23 Mar 2011 21:45:32 +0000 (+0000) Subject: Follow-up r84610: made makeImage() b/c for callers X-Git-Tag: 1.31.0-rc.0~31226 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Category:Foo?a=commitdiff_plain;h=1ecbf96a58b8c3e503af8921a5eb004db2264b99;p=lhc%2Fweb%2Fwiklou.git Follow-up r84610: made makeImage() b/c for callers --- diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php index 95ae4ad062..ae75cf82f7 100644 --- a/includes/parser/ParserOutput.php +++ b/includes/parser/ParserOutput.php @@ -265,7 +265,7 @@ class ParserOutput extends CacheTime { * @param $sha string base 36 SHA-1 of file * @return void */ - function addImage( $name, $timestamp, $sha1 ) { + function addImage( $name, $timestamp = null, $sha1 = null ) { $this->mImages[$name] = 1; $this->mImageTimeKeys[$name] = array( 'time' => $timestamp, 'sha1' => $sha1 ); }