r76920 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76919‎ | r76920 | r76921 >
Date:23:36, 17 November 2010
Author:reedy
Status:ok
Tags:
Comment:
Fix minor refactoring bug from r76905, actually use values passed in
Modified paths:
  • /trunk/extensions/CodeReview/ui/CodeRevisionCommitter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/CodeRevisionCommitter.php
@@ -68,7 +68,7 @@
6969 if ( $this->mRev->isValidStatus( $status ) && $this->validPost( 'codereview-set-status' ) ) {
7070 $statusChanged = $this->mRev->setStatus( $status, $wgUser );
7171 }
72 - $addTags = $removeTags = array();
 72+ $validAddTags = $validRemoveTags = array();
7373 if ( count( $addTags ) && $this->validPost( 'codereview-add-tag' ) ) {
7474 $validAddTags = $addTags;
7575 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76905Prequisite to bug 25940 (Add API module(s) to add comments/set revision status)...reedy21:01, 17 November 2010

Status & tagging log