[documentation] [Documentation bug] Add a hook_comment delete action to API docs

naudefj drupal-docs at drupal.org
Thu Aug 10 20:27:15 UTC 2006


Issue status update for 
http://drupal.org/node/66120
Post a follow up: 
http://drupal.org/project/comments/add/66120

 Project:      Documentation
 Version:      <none>
 Component:    Documentation in CVS
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  naudefj
 Updated by:   naudefj
-Status:       active
+Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/core.patch.txt (846 bytes)

Thank you very much webchick! 


I do have CVS access. However, I need someone to just check the patch
before I commit it.




naudefj



Previous comments:
------------------------------------------------------------------------

Mon, 29 May 2006 16:21:36 +0000 : naudefj

I would like to write a hook to send a reject E-mail whenever a comment
is deleted. However, hook_comment only recognize  "insert", "moderate"
and "update" operations. Please consider adding a "delete" action as
well.




------------------------------------------------------------------------

Mon, 29 May 2006 17:38:55 +0000 : killes at www.drop.org

features go into CVS.


I think it might be possible to fire such an action on the submit of
the form through form API.




------------------------------------------------------------------------

Wed, 09 Aug 2006 19:12:55 +0000 : naudefj

Looks like *hook_comment /delete/* is already implemented in code.
However, it is not listed in the API documentation. 


What steps should I follow to get the API (http://api.drupal.org/)
updated.




------------------------------------------------------------------------

Wed, 09 Aug 2006 20:44:44 +0000 : webchick

If you have CVS access, you can simply update the appropriate
documentation file in /contributions/docs/developer/hooks, and then
commit it.


You might want to check if there are other missing ops too, while
you're at it.






More information about the documentation mailing list