Fix exception from list=recentchanges rcprop=loginfo: update for new log system
This commit is contained in:
parent
aa61ae7ef7
commit
bf1e9d76ad
1 changed files with 5 additions and 4 deletions
|
|
@ -423,13 +423,14 @@ class ApiQueryRecentChanges extends ApiQueryGeneratorBase {
|
|||
$vals['logid'] = intval( $row->rc_logid );
|
||||
$vals['logtype'] = $row->rc_log_type;
|
||||
$vals['logaction'] = $row->rc_log_action;
|
||||
$logEntry = DatabaseLogEntry::newFromRow( (array)$row );
|
||||
ApiQueryLogEvents::addLogParams(
|
||||
$this->getResult(),
|
||||
$vals,
|
||||
$row->rc_params,
|
||||
$row->rc_log_action,
|
||||
$row->rc_log_type,
|
||||
$row->rc_timestamp
|
||||
$logEntry->getParameters(),
|
||||
$logEntry->getType(),
|
||||
$logEntry->getSubtype(),
|
||||
$logEntry->getTimestamp()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue