summaryrefslogtreecommitdiff
path: root/EVENTS.txt
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-11-08 14:33:22 +0100
committerBrion Vibber <brion@pobox.com>2009-11-08 14:40:30 +0100
commit8d44b6a5a2965b37002efd26f23a7cfeb5109391 (patch)
tree532f5864ce3be5e3c0f2b31a13db31150fccf204 /EVENTS.txt
parent5c428f8adf5d4686988f371e3de204ac6e70b99a (diff)
Fix bug 1962: deleteuser.php regression when OpenID plugin not enabled
The User_openid data object was explicitly listed as a related field to delete from in User::delete(); this class doesn't exist anymore by default since OpenID was broken out to a plugin. Added UserDeleteRelated event for plugins to add related tables to delete from at user delete time.
Diffstat (limited to 'EVENTS.txt')
-rw-r--r--EVENTS.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/EVENTS.txt b/EVENTS.txt
index 92c411025..25a51516b 100644
--- a/EVENTS.txt
+++ b/EVENTS.txt
@@ -489,3 +489,6 @@ ChangePassword: Handle a password change request
- $newpassword: the desired new password
- &$errormsg: set this to an error message if the password could not be changed. If the password was changed, leave this as false
+UserDeleteRelated: Specify additional tables to delete entries from when deleting users
+- $user: User object
+- &$related: array of DB_DataObject class names to delete entries on matching user_id.