Index: trunk/extensions/CodeReview/CodeReview.php |
— | — | @@ -257,7 +257,7 @@ |
258 | 258 | /** |
259 | 259 | * Revisions states that a user cannot change to on their own revision |
260 | 260 | */ |
261 | | -$wgProtectedStates = array( |
| 261 | +$wgCodeReviewProtectedStates = array( |
262 | 262 | 'ok', |
263 | 263 | 'resolved', |
264 | 264 | ); |
Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -253,8 +253,8 @@ |
254 | 254 | * @return Array |
255 | 255 | */ |
256 | 256 | public static function getProtectedStates() { |
257 | | - global $wgProtectedStates; |
258 | | - return $wgProtectedStates; |
| 257 | + global $wgCodeReviewProtectedStates; |
| 258 | + return $wgCodeReviewProtectedStates; |
259 | 259 | } |
260 | 260 | |
261 | 261 | /** |