Fix Bug #28082, Add Hooks to User::addGroup and User::removeGroup
authorMark A. Hershberger <mah@users.mediawiki.org>
Wed, 16 Mar 2011 23:13:38 +0000 (23:13 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Wed, 16 Mar 2011 23:13:38 +0000 (23:13 +0000)
commit282870288937e20be0c7200f29068a062b520baf
tree7cf5225adb3b93cd631482f57767d66b72957a07
parent4f1eb6c0b00be8e9e963d4f68c7937061b17f765
Fix Bug #28082, Add Hooks to User::addGroup and User::removeGroup

    I propose to add two new hooks, one should be called when adding a
    group to a user, one when a group is removed. This allows
    MediaWiki for example to add/remove groups from a remote
    authentication/authorization service.

Adapted provided patch.
docs/hooks.txt
includes/User.php