Ok here is my frist draft of a delete_event_hook that takes in the ids
of deleted events and it hooks in AFTER the events are deleted. Take a
look the test case is in there too

-- 
delete_event_hook for extensions
https://bugs.launchpad.net/bugs/595919
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Triaged

Bug description:
Right now zeitgeist extensions have no way of knowing when events are deleted. 
I propose adding a delete_event_hook() method on the Extension class that 
extensions can override. The delete_event_hook() method should take an event_id 
as its sole argument.

I need this functionality in the FTS extension.



_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to