mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
Merge "Pass a user to EchoEvent::create"
This commit is contained in:
commit
c4faa9a99d
|
@ -1299,7 +1299,7 @@ class EchoHooks {
|
|||
'reverted-revision-id' => $oldRevision->getId(),
|
||||
'method' => 'rollback',
|
||||
],
|
||||
'agent' => $agent,
|
||||
'agent' => User::newFromIdentity( $agent ),
|
||||
] );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue