Index: trunk/extensions/FlaggedRevs/FlaggedRevision.php |
— | — | @@ -104,7 +104,7 @@ |
105 | 105 | ); |
106 | 106 | # Sorted from highest to lowest, so just take the first one if any |
107 | 107 | if( $row ) { |
108 | | - $frev = new FlaggedRevision( $row ); |
| 108 | + $frev = new self( $row ); |
109 | 109 | $frev->mTitle = $title; |
110 | 110 | return $frev; |
111 | 111 | } |
— | — | @@ -204,7 +204,7 @@ |
205 | 205 | if( !$row ) return null; |
206 | 206 | } |
207 | 207 | } |
208 | | - $frev = new FlaggedRevision( $row ); |
| 208 | + $frev = new self( $row ); |
209 | 209 | $frev->mTitle = $title; |
210 | 210 | return $frev; |
211 | 211 | } |
Index: trunk/extensions/FlaggedRevs/FlaggedArticleView.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | */
|
17 | 17 | public static function singleton() {
|
18 | 18 | if( self::$instance == null ) {
|
19 | | - self::$instance = new FlaggedArticleView();
|
| 19 | + self::$instance = new self();
|
20 | 20 | }
|
21 | 21 | return self::$instance;
|
22 | 22 | }
|