Merge "Don't put a whole User object in extra[mentioned-users]"

This commit is contained in:
jenkins-bot 2020-05-05 08:02:49 +00:00 committed by Gerrit Code Review
commit c1f8165d01

View file

@ -124,7 +124,7 @@ abstract class EchoDiscussionParser {
if ( $count >= $wgEchoMaxMentionsInEditSummary ) { if ( $count >= $wgEchoMaxMentionsInEditSummary ) {
break; break;
} }
$mentionedUsers[] = $summaryUser; $mentionedUsers[$summaryUser->getId()] = $summaryUser->getId();
$count++; $count++;
} }