Follow-up r84610: made makeImage() b/c for callers

This commit is contained in:
Aaron Schulz 2011-03-23 21:45:32 +00:00
parent a90c8f87b2
commit 1ecbf96a58

View file

@ -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 );
}