Index: trunk/phase3/includes/api/ApiQueryRevisions.php |
— | — | @@ -414,11 +414,7 @@ |
415 | 415 | } |
416 | 416 | |
417 | 417 | if ( $this->fld_sha1 ) { |
418 | | - if ( !is_null( $revision->getSha1() ) ) { |
419 | | - $vals['sha1'] = $revision->getSha1(); |
420 | | - } else { |
421 | | - $vals['sha1'] = ''; |
422 | | - } |
| 418 | + $vals['sha1'] = $revision->getSha1(); |
423 | 419 | } |
424 | 420 | |
425 | 421 | if ( $this->fld_comment || $this->fld_parsedcomment ) { |