Closed (fixed)
Project:
Privatemsg
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2010 at 13:09 UTC
Updated:
2 May 2011 at 22:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
manarth commentedThe attached patch adds delete and undelete hooks, and adds additional documentation for both.
Comment #3
berdirWe decided to remove the hook because modules don't need to act when a message is deleted but when it is flushed and we forgot to update the documentation. But I can see that it could be of use.
However, I think this needs to be done against 2.x because new features are not allowed in 1.x.
Comment #4
berdir#1: 750566_add_delete_undelete_hooks.patch queued for re-testing.
Comment #5
berdirSee title. And see #1054082: Allow modules to respond to a status change..
Comment #6
berdirAttaching a patch.
Comment #7
berdirFixed a wrongly named variable in the patch. This passes all tests now locally, the test bot currently doesn't like Privatemsg so much.
Comment #8
berdirCommited.
Comment #9
berdirAttaching a patch for 7.x to run the tests on it..
Comment #10
berdirCommited.