Skip to content

Commit

Permalink
Merge branch 'bugnotedel'
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis committed Sep 28, 2014
2 parents b5dd5af + 290dba6 commit 7603c7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bugnote_delete.php
Expand Up @@ -82,9 +82,6 @@

bugnote_delete( $f_bugnote_id );

# Event integration
event_signal( 'EVENT_BUGNOTE_DELETED', array( $t_bug_id, $f_bugnote_id ) );

form_security_purge( 'bugnote_delete' );

print_successful_redirect( string_get_bug_view_url( $t_bug_id ) . '#bugnotes' );
3 changes: 3 additions & 0 deletions core/bugnote_api.php
Expand Up @@ -285,6 +285,9 @@ function bugnote_delete( $p_bugnote_id ) {
# log deletion of bug
history_log_event_special( $t_bug_id, BUGNOTE_DELETED, bugnote_format_id( $p_bugnote_id ) );

# Event integration
event_signal( 'EVENT_BUGNOTE_DELETED', array( $t_bug_id, $p_bugnote_id ) );

return true;
}

Expand Down

0 comments on commit 7603c7b

Please sign in to comment.