]> git.immae.eu Git - perso/Immae/Config/Nix.git/blob - nixops/modules/websites/tools/git/mantisbt/mantisbt-plugin-source-integration_Source.API.php.diff
c3551445b7e8d025cd0448d0bbb25f371d599c9f
[perso/Immae/Config/Nix.git] / nixops / modules / websites / tools / git / mantisbt / mantisbt-plugin-source-integration_Source.API.php.diff
1 --- b/Source/Source.API.php 2017-09-18 00:50:32.000000000 +0200
2 +++ a/Source/Source.API.php 2018-03-04 19:00:25.578889039 +0100
3 @@ -452,6 +452,9 @@
4 # Allow other plugins to post-process commit data
5 event_signal( 'EVENT_SOURCE_COMMITS', array( $p_changesets ) );
6 event_signal( 'EVENT_SOURCE_FIXED', array( $t_fixed_bugs ) );
7 + foreach( $t_fixed_bugs as $t_bug_id => $t_changeset ) {
8 + event_signal( 'EVENT_BUG_ACTION', array('RESOLVE', $t_bug_id) );
9 + }
10 }
11
12 /**