Index: trunk/extensions/CodeReview/CodeComment.php |
— | — | @@ -6,11 +6,11 @@ |
7 | 7 | $this->rev = $rev; |
8 | 8 | } |
9 | 9 | |
10 | | - function newFromRow( $rev, $row ) { |
| 10 | + static function newFromRow( $rev, $row ) { |
11 | 11 | return self::newFromData( $rev, get_object_vars( $row ) ); |
12 | 12 | } |
13 | 13 | |
14 | | - function newFromData( $rev, $data ) { |
| 14 | + static function newFromData( $rev, $data ) { |
15 | 15 | $comment = new CodeComment( $rev ); |
16 | 16 | $comment->id = $data['cc_id']; |
17 | 17 | $comment->text = $data['cc_text']; // fixme |