r41580 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41579‎ | r41580 | r41581 >
Date:00:08, 3 October 2008
Author:aaron
Status:old
Tags:
Comment:
E_STRICT
Modified paths:
  • /trunk/extensions/CodeReview/CodeComment.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeComment.php
@@ -6,11 +6,11 @@
77 $this->rev = $rev;
88 }
99
10 - function newFromRow( $rev, $row ) {
 10+ static function newFromRow( $rev, $row ) {
1111 return self::newFromData( $rev, get_object_vars( $row ) );
1212 }
1313
14 - function newFromData( $rev, $data ) {
 14+ static function newFromData( $rev, $data ) {
1515 $comment = new CodeComment( $rev );
1616 $comment->id = $data['cc_id'];
1717 $comment->text = $data['cc_text']; // fixme

Status & tagging log