Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -326,8 +326,7 @@ |
327 | 327 | if ( $this->mTitle->isDeleted() ) { |
328 | 328 | $this->lastDelete = $this->getLastDelete(); |
329 | 329 | if ( $this->lastDelete ) { |
330 | | - $dbr = wfGetDB( DB_SLAVE ); |
331 | | - $deletetime = $dbr->timestamp( $this->lastDelete->log_timestamp ); |
| 330 | + $deletetime = wfTimestamp( TS_MW, $this->lastDelete->log_timestamp ); |
332 | 331 | if ( ($deletetime - $this->starttime) > 0 ) { |
333 | 332 | $this->deletedSinceEdit = true; |
334 | 333 | } |