Skip to content

Commit

Permalink
Update bug last updated date when deleting bugnote
Browse files Browse the repository at this point in the history
Fixes #35432
  • Loading branch information
dregad committed Feb 23, 2025
1 parent e2886ae commit d0f8986
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/bugnote_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,9 @@ function bugnote_delete( $p_bugnote_id ) {
$t_query = 'DELETE FROM {bugnote_text} WHERE id=' . db_param();
db_query( $t_query, array( $t_bugnote_text_id ) );

# Update the last_updated date
bug_update_date( $t_bug_id );

# log deletion of bug
history_log_event_special( $t_bug_id, BUGNOTE_DELETED, bugnote_format_id( $p_bugnote_id ) );

Expand Down

0 comments on commit d0f8986

Please sign in to comment.