Index: trunk/extensions/CodeReview/CodeReview.php |
— | — | @@ -354,6 +354,11 @@ |
355 | 355 | "$base/archives/code_revs_status_author-index.sql" ); |
356 | 356 | $updater->addExtensionField( 'code_comment', 'cc_patch_line', |
357 | 357 | "$base/archives/code_comment_patch_line.sql" ); |
| 358 | + |
| 359 | + $updater->addExtensionUpdate( array( 'dropField', 'code_comment', 'cc_review', |
| 360 | + "$base/archives/code_drop_cc_review.sql", true ) ); |
| 361 | + |
| 362 | + $updater->addExtensionUpdate( array( 'dropTable', 'code_test_suite', "$base/archives/code_drop_test.sql", true ) ); |
358 | 363 | break; |
359 | 364 | case 'sqlite': |
360 | 365 | $updater->addExtensionTable( 'code_rev', "$base/codereview.sql" ); |
Index: trunk/extensions/CodeReview/archives/code_drop_cc_review.sql |
— | — | @@ -0,0 +1 @@ |
| 2 | +ALTER TABLE /*_*/code_comment DROP COLUMN cc_review; |
Property changes on: trunk/extensions/CodeReview/archives/code_drop_cc_review.sql |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 3 | + native |
Index: trunk/extensions/CodeReview/archives/code_drop_test.sql |
— | — | @@ -0,0 +1,4 @@ |
| 2 | +DROP TABLE IF EXISTS /*_*/code_test_suite; |
| 3 | +DROP TABLE IF EXISTS /*_*/code_test_case; |
| 4 | +DROP TABLE IF EXISTS /*_*/code_test_run; |
| 5 | +DROP TABLE IF EXISTS /*_*/code_test_result; |
Property changes on: trunk/extensions/CodeReview/archives/code_drop_test.sql |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 6 | + native |
Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php |
— | — | @@ -232,13 +232,13 @@ |
233 | 233 | |
234 | 234 | foreach ( $states as $key => $state ) { |
235 | 235 | $title = SpecialPage::getTitleFor( 'Code', $name . "/status/$state" ); |
236 | | - $options[] = Xml::option( |
| 236 | + $options[] = Xml::option( |
237 | 237 | wfMsgHtml( "code-status-$state" ), |
238 | 238 | $title->getPrefixedText(), |
239 | 239 | $this->mStatus == $state |
240 | 240 | ); |
241 | 241 | } |
242 | | - |
| 242 | + |
243 | 243 | $ret = "<fieldset><legend>" . wfMsgHtml( 'code-pathsearch-legend' ) . "</legend>" . |
244 | 244 | '<table width="100%"><tr><td>' . |
245 | 245 | Xml::openElement( 'form', array( 'action' => $wgScript, 'method' => 'get' ) ) . |
— | — | @@ -455,6 +455,9 @@ |
456 | 456 | } |
457 | 457 | } |
458 | 458 | |
| 459 | + /** |
| 460 | + * @return Title |
| 461 | + */ |
459 | 462 | function getTitle() { |
460 | 463 | return SpecialPage::getTitleFor( 'Code', $this->mRepo->getName() ); |
461 | 464 | } |