From db4abfa5da7837d09917ba3c9d91be33c30f9ede Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Wed, 1 Feb 2012 21:40:09 +0000 Subject: [PATCH] added comment_delete hook --- fp-includes/core/core.comment.php | 1 + 1 file changed, 1 insertion(+) diff --git a/fp-includes/core/core.comment.php b/fp-includes/core/core.comment.php index 881329f..d68fc5a 100755 --- a/fp-includes/core/core.comment.php +++ b/fp-includes/core/core.comment.php @@ -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);