Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4105059
UserMergeHandler.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
875 B
Referenced Files
None
Subscribers
None
UserMergeHandler.php
View Options
<?php
namespace
MediaWiki\CheckUser\HookHandler
;
use
MediaWiki\Extension\UserMerge\Hooks\AccountFieldsHook
;
class
UserMergeHandler
implements
AccountFieldsHook
{
/** @inheritDoc */
public
function
onUserMergeAccountFields
(
array
&
$updateFields
):
void
{
$updateFields
[]
=
[
'cu_changes'
,
'batch_key'
=>
'cuc_id'
,
'actorId'
=>
'cuc_actor'
,
'actorStage'
=>
SCHEMA_COMPAT_NEW
];
$updateFields
[]
=
[
'cu_log_event'
,
'batch_key'
=>
'cule_id'
,
'actorId'
=>
'cule_actor'
,
'actorStage'
=>
SCHEMA_COMPAT_NEW
];
$updateFields
[]
=
[
'cu_private_event'
,
'batch_key'
=>
'cupe_id'
,
'actorId'
=>
'cupe_actor'
,
'actorStage'
=>
SCHEMA_COMPAT_NEW
];
$updateFields
[]
=
[
'cu_log'
,
'batch_key'
=>
'cul_id'
,
'actorId'
=>
'cul_actor'
,
'actorStage'
=>
SCHEMA_COMPAT_NEW
];
$updateFields
[]
=
[
'cu_log'
,
'cul_target_id'
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Aug 18, 18:48 (3 w, 20 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
61/62/be1e7fdcd164b68a63a7677958a7
Default Alt Text
UserMergeHandler.php (875 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment