X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=blobdiff_plain;f=includes%2Flogging%2FLogPage.php;h=28c1a8736008a79807042a6135ee5b26e745e015;hb=f6a35d8674257bed158cabe5e541fc62973f1f8f;hp=c84352eb7982da0ffe630a52ede8bce3ac500d77;hpb=51e40a712f2f2eb57216b26a16c91d14f74d5cf2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index c84352eb79..28c1a87360 100644 --- a/includes/logging/LogPage.php +++ b/includes/logging/LogPage.php @@ -97,14 +97,13 @@ class LogPage { 'log_type' => $this->type, 'log_action' => $this->action, 'log_timestamp' => $dbw->timestamp( $now ), - 'log_user' => $this->doer->getId(), - 'log_user_text' => $this->doer->getName(), 'log_namespace' => $this->target->getNamespace(), 'log_title' => $this->target->getDBkey(), 'log_page' => $this->target->getArticleID(), 'log_params' => $this->params ]; $data += CommentStore::getStore()->insert( $dbw, 'log_comment', $this->comment ); + $data += ActorMigration::newMigration()->getInsertValues( $dbw, 'log_user', $this->doer ); $dbw->insert( 'logging', $data, __METHOD__ ); $newId = $dbw->insertId();