Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php |
— | — | @@ -358,30 +358,6 @@ |
359 | 359 | } |
360 | 360 | } |
361 | 361 | |
362 | | - // Note: this function is poorly factored in the parent class |
363 | | - function formatRow( $row ) { |
364 | | - global $wgWikiSVN; |
365 | | - $css = "mw-codereview-status-{$row->cr_status}"; |
366 | | - if ( $this->mRepo->getName() == $wgWikiSVN ) { |
367 | | - $css .= " mw-codereview-" . ( $row-> { $this->getDefaultSort() } <= $this->mCurSVN ? 'live' : 'notlive' ); |
368 | | - } |
369 | | - $s = "<tr class=\"$css\">\n"; |
370 | | - // Some of this stolen from Pager.php...sigh |
371 | | - $fieldNames = $this->getFieldNames(); |
372 | | - $this->mCurrentRow = $row; # In case formatValue needs to know |
373 | | - foreach ( $fieldNames as $field => $name ) { |
374 | | - $value = isset( $row->$field ) ? $row->$field : null; |
375 | | - $formatted = strval( $this->formatRevValue( $field, $value, $row ) ); |
376 | | - if ( $formatted == '' ) { |
377 | | - $formatted = ' '; |
378 | | - } |
379 | | - $class = 'TablePager_col_' . htmlspecialchars( $field ); |
380 | | - $s .= "<td class=\"$class\">$formatted</td>\n"; |
381 | | - } |
382 | | - $s .= "</tr>\n"; |
383 | | - return $s; |
384 | | - } |
385 | | - |
386 | 362 | function getTitle() { |
387 | 363 | return SpecialPage::getTitleFor( 'Code', $this->mRepo->getName() ); |
388 | 364 | } |