added comment_delete hook

This commit is contained in:
real_nowhereman 2012-02-01 21:40:09 +00:00
parent 4e487d6393
commit db4abfa5da

View File

@ -138,6 +138,7 @@
* @see entry_delete()
*/
function comment_delete($id, $comment_id) {
do_action('comment_delete', $id, $comment_id);
$comment_dir = bdb_idtofile($id,BDB_COMMENT);
$f = $comment_dir . $comment_id .EXT;
return fs_delete($f);