Change-Id: I5c34eda43d0d312bc53fc5e9ad618cb80284e34b
'log_page' => $this->target->getArticleID(),
'log_params' => $this->params
];
- $data += CommentStore::getStore()->insert( $dbw, 'log_comment', $this->comment );
+ $data += MediaWikiServices::getInstance()->getCommentStore()->insert(
+ $dbw,
+ 'log_comment',
+ $this->comment
+ );
$data += ActorMigration::newMigration()->getInsertValues( $dbw, 'log_user', $this->doer );
$dbw->insert( 'logging', $data, __METHOD__ );
$newId = $dbw->insertId();