Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -96,7 +96,7 @@ |
97 | 97 | } |
98 | 98 | } |
99 | 99 | |
100 | | - return $allPaths; |
| 100 | + return $allPaths; |
101 | 101 | } |
102 | 102 | |
103 | 103 | /** |
— | — | @@ -455,7 +455,7 @@ |
456 | 456 | } |
457 | 457 | } |
458 | 458 | } |
459 | | - return $affectedRevs; |
| 459 | + return $affectedRevs; |
460 | 460 | } |
461 | 461 | |
462 | 462 | /** |
— | — | @@ -479,7 +479,7 @@ |
480 | 480 | ); |
481 | 481 | $affectedBugs[] = intval( $bug ); |
482 | 482 | } |
483 | | - $dbw->insert( 'code_bugs', $data, __METHOD__, array( 'IGNORE' ) ); |
| 483 | + $dbw->insert( 'code_bugs', $data, __METHOD__, array( 'IGNORE' ) ); |
484 | 484 | } |
485 | 485 | |
486 | 486 | // Also, get previous revisions that have bugs in common... |
— | — | @@ -500,7 +500,7 @@ |
501 | 501 | } |
502 | 502 | } |
503 | 503 | |
504 | | - return $affectedRevs; |
| 504 | + return $affectedRevs; |
505 | 505 | } |
506 | 506 | |
507 | 507 | /** |
Index: trunk/extensions/CodeReview/ui/CodeRevisionCommitter.php |
— | — | @@ -104,7 +104,7 @@ |
105 | 105 | if ( count( $removeReferences ) && $this->validPost( 'codereview-associate' ) ) { |
106 | 106 | $this->mRev->removeReferencesFrom( $removeReferences ); |
107 | 107 | } |
108 | | - |
| 108 | + |
109 | 109 | // Add any comments |
110 | 110 | $commentAdded = false; |
111 | 111 | $commentId = 0; |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | // $isPreview = $wgRequest->getCheck( 'wpPreview' ); |
114 | 114 | $commentId = $this->mRev->saveComment( $commentText, $review, $parent ); |
115 | 115 | |
116 | | - $commentAdded = ($commentId !== 0); |
| 116 | + $commentAdded = ($commentId !== 0); |
117 | 117 | } |
118 | 118 | $dbw->commit(); |
119 | 119 | |
— | — | @@ -133,8 +133,8 @@ |
134 | 134 | $wgUser->getName(), $url, $this->mRev->getIdStringUnique(), $this->text |
135 | 135 | ); |
136 | 136 | } |
137 | | - } |
| 137 | + } |
138 | 138 | |
139 | | - return $commentId; |
| 139 | + return $commentId; |
140 | 140 | } |
141 | 141 | } |