Index: trunk/extensions/CodeReview/ui/CodeRevisionView.php |
— | — | @@ -131,11 +131,8 @@ |
132 | 132 | $html .= $this->formatImgDiff(); |
133 | 133 | } |
134 | 134 | # Show sign-offs |
135 | | - $signoffs = $this->formatSignoffs( $this->canSignoff() ); |
136 | | - if ( $signoffs ) { |
137 | | - $html .= "<h2 id='code-signoffs'>" . wfMsgHtml( 'code-signoffs' ) . |
138 | | - "</h2>\n" . $signoffs; |
139 | | - } |
| 135 | + $html .= "<h2 id='code-signoffs'>" . wfMsgHtml( 'code-signoffs' ) . |
| 136 | + "</h2>\n" . $this->formatSignoffs( $this->canSignoff() ); |
140 | 137 | # Show code relations |
141 | 138 | $relations = $this->formatReferences(); |
142 | 139 | if ( $relations ) { |
— | — | @@ -434,9 +431,6 @@ |
435 | 432 | $signoffs = implode( "\n", |
436 | 433 | array_map( array( $this, 'formatSignoffInline' ), $this->mRev->getSignoffs() ) |
437 | 434 | ); |
438 | | - if ( !$signoffs ) { |
439 | | - return false; |
440 | | - } |
441 | 435 | $header = '<th></th>'; |
442 | 436 | $header .= '<th>' . wfMsg( 'code-signoff-field-user' ) . '</th>'; |
443 | 437 | $header .= '<th>' . wfMsg( 'code-signoff-field-flag' ). '</th>'; |