Index: trunk/extensions/EducationProgram/includes/EPArticleTable.php |
— | — | @@ -99,13 +99,7 @@ |
100 | 100 | $user = $this->getUser(); |
101 | 101 | |
102 | 102 | $rowCount = array_reduce( $articles, function( /* integer */ $sum, EPArticle $article ) use ( $user ) { |
103 | | - $sum += max( count( $article->getField( 'reviewers' ) ), 1 ); |
104 | | - |
105 | | - if ( $article->canBecomeReviewer( $user ) ) { |
106 | | - $sum++; |
107 | | - } |
108 | | - |
109 | | - return $sum; |
| 103 | + return $sum += max( count( $article->getField( 'reviewers' ) ), 1 ); |
110 | 104 | }, 0 ); |
111 | 105 | |
112 | 106 | $html = Html::openElement( 'tr', $this->getRowAttrs( $row ) ); |