Index: trunk/extensions/CodeReview/CodeRepository.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | |
26 | 26 | static function newFromRow( $row ) { |
27 | 27 | $repo = new CodeRepository(); |
28 | | - $repo->mId = $row->repo_id; |
| 28 | + $repo->mId = intval($row->repo_id); |
29 | 29 | $repo->mName = $row->repo_name; |
30 | 30 | $repo->mPath = $row->repo_path; |
31 | 31 | $repo->mViewVc = $row->repo_viewvc; |
Index: trunk/extensions/CodeReview/CodeRevisionTagger.php |
— | — | @@ -11,8 +11,6 @@ |
12 | 12 | } |
13 | 13 | |
14 | 14 | function execute() { |
15 | | - global $wgOut; |
16 | | - |
17 | 15 | if( $this->validPost( 'codereview-add-tag' ) ) { |
18 | 16 | if( count($this->mAddTags) ) |
19 | 17 | $this->mRev->addTags( $this->mAddTags ); |
Index: trunk/extensions/CodeReview/CodeRevisionStatusSetter.php |
— | — | @@ -10,14 +10,11 @@ |
11 | 11 | } |
12 | 12 | |
13 | 13 | function execute() { |
14 | | - global $wgOut; |
15 | | - |
16 | 14 | if( $this->validPost( 'codereview-set-status' ) ) { |
17 | 15 | $this->mRev->setStatus( $this->mStatus ); |
18 | 16 | |
19 | 17 | $repo = $this->mRepo->getName(); |
20 | 18 | $rev = $this->mRev->getId(); |
21 | | - $special = SpecialPage::getTitleFor( 'Code', "$repo/$rev" ); |
22 | 19 | } |
23 | 20 | } |
24 | 21 | |