Add a 'ChangeUserGroups' hook in Special:Userrights
authorJustin Du <justin.d128@gmail.com>
Sat, 31 Dec 2016 02:39:44 +0000 (20:39 -0600)
committerJustin Du <justin.d128@gmail.com>
Sat, 31 Dec 2016 03:00:45 +0000 (21:00 -0600)
commit8ec41052560336d61914e1be1da296c12626c8a5
tree4aea8a6ac90c118be25ec0f6241a364492784681
parentf5aef17ef38a3d6fa70213a303933705d43d4f94
Add a 'ChangeUserGroups' hook in Special:Userrights

Currently, there is no hook that runs before a user's groups are changed. Adding a hook here will allow for action before the groups are changed.

Bug: T49338
Change-Id: I87dbb6a8eb897f4a40215d33d1a0b24af7efa871
docs/hooks.txt
includes/specials/SpecialUserrights.php