$dbw = wfGetDB( DB_MASTER );
$timestamp = $dbw->selectField( 'revision', 'rev_timestamp', $conds, __METHOD__ );
}
- return $timestamp;
+ return wfTimestamp( TS_MW, $timestamp );
}
/**
function lastModified() {
global $wgLang, $wgArticle;
if( $this->mRevisionId ) {
- $timestamp = wfTimestamp( TS_MW,
- Revision::getTimestampFromId( $this->mRevisionId, $wgArticle->getId() ) );
+ $timestamp = Revision::getTimestampFromId( $this->mRevisionId, $wgArticle->getId() );
} else {
$timestamp = $wgArticle->getTimestamp();
}