added comment_delete hook
This commit is contained in:
parent
4e487d6393
commit
db4abfa5da
@ -138,6 +138,7 @@
|
|||||||
* @see entry_delete()
|
* @see entry_delete()
|
||||||
*/
|
*/
|
||||||
function comment_delete($id, $comment_id) {
|
function comment_delete($id, $comment_id) {
|
||||||
|
do_action('comment_delete', $id, $comment_id);
|
||||||
$comment_dir = bdb_idtofile($id,BDB_COMMENT);
|
$comment_dir = bdb_idtofile($id,BDB_COMMENT);
|
||||||
$f = $comment_dir . $comment_id .EXT;
|
$f = $comment_dir . $comment_id .EXT;
|
||||||
return fs_delete($f);
|
return fs_delete($f);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user