r95643 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95642‎ | r95643 | r95644 >
Date:01:58, 29 August 2011
Author:johnduhart
Status:ok
Tags:
Comment:
Followup r95642, forgot to prefix the protected state variables with CodeReview
Modified paths:
  • /trunk/extensions/CodeReview/CodeReview.php (modified) (history)
  • /trunk/extensions/CodeReview/backend/CodeRevision.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeReview.php
@@ -257,7 +257,7 @@
258258 /**
259259 * Revisions states that a user cannot change to on their own revision
260260 */
261 -$wgProtectedStates = array(
 261+$wgCodeReviewProtectedStates = array(
262262 'ok',
263263 'resolved',
264264 );
Index: trunk/extensions/CodeReview/backend/CodeRevision.php
@@ -253,8 +253,8 @@
254254 * @return Array
255255 */
256256 public static function getProtectedStates() {
257 - global $wgProtectedStates;
258 - return $wgProtectedStates;
 257+ global $wgCodeReviewProtectedStates;
 258+ return $wgCodeReviewProtectedStates;
259259 }
260260
261261 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95642Making revision states, protected states, and flags configurablejohnduhart01:56, 29 August 2011

Status & tagging log