Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4134109
UserMergeHandler.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
753 B
Referenced Files
None
Subscribers
None
UserMergeHandler.php
View Options
<?php
namespace
MediaWiki\Extension\AbuseFilter\Hooks\Handlers
;
use
MediaWiki\Extension\UserMerge\Hooks\AccountFieldsHook
;
class
UserMergeHandler
implements
AccountFieldsHook
{
/**
* Tables that Extension:UserMerge needs to update
*
* @param array[] &$updateFields
*/
public
function
onUserMergeAccountFields
(
array
&
$updateFields
)
{
$updateFields
[]
=
[
'abuse_filter'
,
'batchKey'
=>
'af_id'
,
'actorId'
=>
'af_actor'
,
'actorStage'
=>
SCHEMA_COMPAT_NEW
,
];
$updateFields
[]
=
[
'abuse_filter_log'
,
'afl_user'
,
'afl_user_text'
,
'batchKey'
=>
'afl_id'
,
];
$updateFields
[]
=
[
'abuse_filter_history'
,
'batchKey'
=>
'afh_id'
,
'actorId'
=>
'afh_actor'
,
'actorStage'
=>
SCHEMA_COMPAT_NEW
,
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 12:28 (3 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
3e/e0/b282d5b7c0a35f81590a1aebf4db
Default Alt Text
UserMergeHandler.php (753 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment