Index: trunk/extensions/CodeReview/CodeReview.php |
— | — | @@ -250,9 +250,9 @@ |
251 | 251 | /** |
252 | 252 | * Key is repository name. Value is an array of key value pairs of the paths to get new list for |
253 | 253 | * |
254 | | - * $wgCodeReviewnewPerPath = array( 'RepoName' => array( '/path/to/use', '/another/path/to/use' ) ) |
| 254 | + * $wgCodeReviewNewPerPath = array( 'RepoName' => array( '/path/to/use', '/another/path/to/use' ) ) |
255 | 255 | */ |
256 | | -$wgCodeReviewnewPerPath = array(); |
| 256 | +$wgCodeReviewNewPerPath = array(); |
257 | 257 | |
258 | 258 | /** |
259 | 259 | * UDP comment and status changes notification |
Index: trunk/extensions/CodeReview/backend/RepoStats.php |
— | — | @@ -88,9 +88,9 @@ |
89 | 89 | } |
90 | 90 | |
91 | 91 | $this->newPerPath = array(); |
92 | | - global $wgCodeRevieNewPerPath; |
93 | | - if ( isset( $wgCodeRevieNewPerPath[ $repoName ] ) ) { |
94 | | - foreach( $wgCodeRevieNewPerPath[ $repoName ] as $path ) { |
| 92 | + global $wgCodeReviewNewPerPath; |
| 93 | + if ( isset( $wgCodeReviewNewPerPath[ $repoName ] ) ) { |
| 94 | + foreach( $wgCodeReviewNewPerPath[ $repoName ] as $path ) { |
95 | 95 | $this->newPerPath[$path] = $this->getPathNews( $path ); |
96 | 96 | } |
97 | 97 | } |