Removed redundant mExtra init
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 20 Dec 2008 07:46:45 +0000 (07:46 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 20 Dec 2008 07:46:45 +0000 (07:46 +0000)
includes/RecentChange.php

index e6fd08b..010770c 100644 (file)
@@ -524,7 +524,6 @@ class RecentChange
                $this->mAttribs = get_object_vars( $row );
                $this->mAttribs['rc_timestamp'] = wfTimestamp(TS_MW, $this->mAttribs['rc_timestamp']);
                $this->mAttribs['rc_deleted'] = $row->rc_deleted; // MUST be set
-               $this->mExtra = array();
        }
 
        # Makes a pseudo-RC entry from a cur row
@@ -557,7 +556,6 @@ class RecentChange
                        'rc_log_id' => isset($row->rc_log_id) ? $row->rc_log_id: 0,
                        'rc_deleted' => $row->rc_deleted // MUST be set
                );
-               $this->mExtra = array();
        }
 
        /**