Index: trunk/phase3/includes/parser/ParserOutput.php |
— | — | @@ -265,7 +265,7 @@ |
266 | 266 | * @param $sha string base 36 SHA-1 of file |
267 | 267 | * @return void |
268 | 268 | */ |
269 | | - function addImage( $name, $timestamp, $sha1 ) { |
| 269 | + function addImage( $name, $timestamp = null, $sha1 = null ) { |
270 | 270 | $this->mImages[$name] = 1; |
271 | 271 | $this->mImageTimeKeys[$name] = array( 'time' => $timestamp, 'sha1' => $sha1 ); |
272 | 272 | } |