Add GetAutoPromoteGroups hook, which was in my working copy but not committed yet...
[lhc/web/wiklou.git] / docs / hooks.txt
index 2f9291c..3d60990 100644 (file)
@@ -618,6 +618,10 @@ $fileVersions: array of undeleted versions. Empty if all versions were restored
 $user: user who performed the undeletion
 $reason: reason
 
+'GetAutoPromoteGroups': When determining which autopromote groups a user is entitled to be in.
+&$user: user to promote.
+&$promote: groups that will be added.
+
 'GetBlockedStatus': after loading blocking status of an user from the database
 $user: user (object) being checked