X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flogging%2FLogPage.php;h=c84352eb7982da0ffe630a52ede8bce3ac500d77;hb=8fd5a99f4e261d37cd7237a1992b1bcf03a764d3;hp=77d9aa21baa687d320285344eaa2847d0b6c585c;hpb=1a21a63d52b9ebf940cd35f041d675d39c9d474a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index 77d9aa21ba..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();