diff --git a/Source/Source.API.php b/Source/Source.API.php index 1a33cdf..746ef6e 100644 --- a/Source/Source.API.php +++ b/Source/Source.API.php @@ -473,7 +473,7 @@ db_query_bound( $t_query ); foreach( $t_bugs_deleted as $t_bug_id ) { - plugin_history_log( $t_bug_id, 'changeset_unlinked', + plugin_history_log( $t_bug_id, 'changeset_attached', event_signal( 'EVENT_SOURCE_SHOW_CHANGESET', array( $this->repo, $this ) ), '', $this->user_id, 'Source' ); } @@ -496,7 +496,7 @@ db_query_bound( $t_query, $t_params ); foreach( $t_bugs_added as $t_bug_id ) { - plugin_history_log( $t_bug_id, 'changeset_linked', + plugin_history_log( $t_bug_id, 'changeset_removed', event_signal( 'EVENT_SOURCE_SHOW_CHANGESET', array( $this->repo, $this ) ), '', $this->user_id, 'Source' ); }