Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php |
— | — | @@ -227,19 +227,18 @@ |
228 | 228 | 'ar_timestamp' => $where ), |
229 | 229 | __METHOD__ ); |
230 | 230 | while( $row = $dbr->fetchObject( $result ) ) { |
231 | | - $timestamp = wfTimestamp( TS_MW, $timestamp ); |
232 | 231 | $revObjs[$timestamp] = new Revision( array( |
233 | | - 'page' => $this->page->getArticleId(), |
234 | | - 'id' => $row->ar_rev_id, |
235 | | - 'text' => $row->ar_text_id, |
236 | | - 'comment' => $row->ar_comment, |
237 | | - 'user' => $row->ar_user, |
238 | | - 'user_text' => $row->ar_user_text, |
239 | | - 'timestamp' => $timestamp, |
240 | | - 'minor_edit' => $row->ar_minor_edit, |
241 | | - 'text_id' => $row->ar_text_id, |
242 | | - 'deleted' => $row->ar_deleted, |
243 | | - 'len' => $row->ar_len) ); |
| 232 | + 'page' => $this->page->getArticleId(), |
| 233 | + 'id' => $row->ar_rev_id, |
| 234 | + 'text' => $row->ar_text_id, |
| 235 | + 'comment' => $row->ar_comment, |
| 236 | + 'user' => $row->ar_user, |
| 237 | + 'user_text' => $row->ar_user_text, |
| 238 | + 'timestamp' => wfTimestamp( TS_MW, $timestamp ), |
| 239 | + 'minor_edit' => $row->ar_minor_edit, |
| 240 | + 'text_id' => $row->ar_text_id, |
| 241 | + 'deleted' => $row->ar_deleted, |
| 242 | + 'len' => $row->ar_len) ); |
244 | 243 | } |
245 | 244 | foreach( $this->archrevs as $timestamp ) { |
246 | 245 | if( !isset($revObjs[$timestamp]) ) { |
— | — | @@ -890,7 +889,6 @@ |
891 | 890 | 'ar_timestamp' => $where ), |
892 | 891 | __METHOD__ ); |
893 | 892 | while( $row = $this->dbw->fetchObject( $result ) ) { |
894 | | - $timestamp = wfTimestamp( TS_MW, $row->ar_timestamp ); |
895 | 893 | $revObjs[$timestamp] = new Revision( array( |
896 | 894 | 'page' => $title->getArticleId(), |
897 | 895 | 'id' => $row->ar_rev_id, |
— | — | @@ -898,7 +896,7 @@ |
899 | 897 | 'comment' => $row->ar_comment, |
900 | 898 | 'user' => $row->ar_user, |
901 | 899 | 'user_text' => $row->ar_user_text, |
902 | | - 'timestamp' => $timestamp, |
| 900 | + 'timestamp' => wfTimestamp( TS_MW, $row->ar_timestamp ), |
903 | 901 | 'minor_edit' => $row->ar_minor_edit, |
904 | 902 | 'text_id' => $row->ar_text_id, |
905 | 903 | 'deleted' => $row->ar_deleted, |