X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flogging%2FLogPage.php;h=c84352eb7982da0ffe630a52ede8bce3ac500d77;hb=8fd5a99f4e261d37cd7237a1992b1bcf03a764d3;hp=e4212092789296848111de2beaab3b299b6dc34b;hpb=949dc920ee61e838320186565cb6dc146a013b25;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index e421209278..c84352eb79 100644 --- a/includes/logging/LogPage.php +++ b/includes/logging/LogPage.php @@ -104,7 +104,7 @@ class LogPage { 'log_page' => $this->target->getArticleID(), 'log_params' => $this->params ]; - $data += CommentStore::newKey( 'log_comment' )->insert( $dbw, $this->comment ); + $data += CommentStore::getStore()->insert( $dbw, 'log_comment', $this->comment ); $dbw->insert( 'logging', $data, __METHOD__ ); $newId = $dbw->insertId(); @@ -319,7 +319,7 @@ class LogPage { * * @param string $action One of '', 'block', 'protect', 'rights', 'delete', * 'upload', 'move', 'move_redir' - * @param Title $target Title object + * @param Title $target * @param string $comment Description associated * @param array $params Parameters passed later to wfMessage function * @param null|int|User $doer The user doing the action. null for $wgUser