r84196 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84195‎ | r84196 | r84197 >
Date:19:22, 17 March 2011
Author:mah
Status:ok
Tags:
Comment:
Follow up r84134 document reference passing.
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -1766,7 +1766,7 @@
17671767 'UserAddGroup': called when adding a group; return false to override
17681768 stock group addition.
17691769 $user: the user object that is to have a group added
1770 -$group: the group to add
 1770+&$group: the group to add, can be modified
17711771
17721772 'UserArrayFromResult': called when creating an UserArray object from a
17731773 database result
@@ -1898,7 +1898,7 @@
18991899 'UserRemoveGroup': called when removing a group; return false to override
19001900 stock group removal.
19011901 $user: the user object that is to have a group removed
1902 -$group: the group to be removed
 1902+&$group: the group to be removed, can be modified
19031903
19041904 'UserRights': After a user's group memberships are changed
19051905 $user : User object that was changed

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84134Fix Bug #28082, Add Hooks to User::addGroup and User::removeGroup...mah23:13, 16 March 2011

Status & tagging log