No need to cast to array, because the called function will recast to
object.
Change-Id: I0eaa62450a0ebcc9ab8458b225dfadb71197a2ad
$vals['logid'] = intval( $row->rc_logid );
$vals['logtype'] = $row->rc_log_type;
$vals['logaction'] = $row->rc_log_action;
- $logEntry = DatabaseLogEntry::newFromRow( (array)$row );
+ $logEntry = DatabaseLogEntry::newFromRow( $row );
ApiQueryLogEvents::addLogParams(
$this->getResult(),
$vals,
$vals['logid'] = intval( $row->rc_logid );
$vals['logtype'] = $row->rc_log_type;
$vals['logaction'] = $row->rc_log_action;
- $logEntry = DatabaseLogEntry::newFromRow( (array)$row );
+ $logEntry = DatabaseLogEntry::newFromRow( $row );
ApiQueryLogEvents::addLogParams(
$this->getResult(),
$vals,