Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -324,7 +324,7 @@ |
325 | 325 | // Get repo and build comment title (for url) |
326 | 326 | $title = SpecialPage::getTitleFor( 'Code', $this->mRepo->getName() . '/' . $this->mId ); |
327 | 327 | $url = $title->getFullUrl(); |
328 | | - wfLoadExtensionMessages( 'CodeReview' ); |
| 328 | + |
329 | 329 | foreach ( $res as $row ) { |
330 | 330 | $user = $this->mRepo->authorWikiUser( $row->cr_author ); |
331 | 331 | // User must exist on wiki and have a valid email addy |
Index: trunk/extensions/CodeReview/ui/SpecialCode.php |
— | — | @@ -9,8 +9,6 @@ |
10 | 10 | function execute( $subpage ) { |
11 | 11 | global $wgOut, $wgRequest, $wgUser, $wgExtensionAssetsPath, $wgCodeReviewStyleVersion; |
12 | 12 | |
13 | | - wfLoadExtensionMessages( 'CodeReview' ); |
14 | | - |
15 | 13 | if ( !$this->userCanExecute( $wgUser ) ) { |
16 | 14 | $this->displayRestrictionError(); |
17 | 15 | return; |
Index: trunk/extensions/CodeReview/ui/SpecialRepoAdmin.php |
— | — | @@ -9,7 +9,6 @@ |
10 | 10 | function execute( $subpage ) { |
11 | 11 | global $wgRequest, $wgUser; |
12 | 12 | |
13 | | - wfLoadExtensionMessages( 'CodeReview' ); |
14 | 13 | $this->setHeaders(); |
15 | 14 | |
16 | 15 | if ( !$this->userCanExecute( $wgUser ) ) { |