r44831 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44830‎ | r44831 | r44832 >
Date:07:46, 20 December 2008
Author:aaron
Status:ok
Tags:
Comment:
Removed redundant mExtra init
Modified paths:
  • /trunk/phase3/includes/RecentChange.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/RecentChange.php
@@ -524,7 +524,6 @@
525525 $this->mAttribs = get_object_vars( $row );
526526 $this->mAttribs['rc_timestamp'] = wfTimestamp(TS_MW, $this->mAttribs['rc_timestamp']);
527527 $this->mAttribs['rc_deleted'] = $row->rc_deleted; // MUST be set
528 - $this->mExtra = array();
529528 }
530529
531530 # Makes a pseudo-RC entry from a cur row
@@ -557,7 +556,6 @@
558557 'rc_log_id' => isset($row->rc_log_id) ? $row->rc_log_id: 0,
559558 'rc_deleted' => $row->rc_deleted // MUST be set
560559 );
561 - $this->mExtra = array();
562560 }
563561
564562 /**

Status & tagging log