? MantisCVS.kpf
? changes.sql
? emailWhenMoved.diff
? log.txt
? test.php
Index: account_prefs_inc.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/account_prefs_inc.php,v
retrieving revision 1.34
diff -b -r1.34 account_prefs_inc.php
250a251,264
>
>
>
> email_on_moved, ON ); ?> />
>
>
> |
>
>
> |
278c292
< |
---
>
Index: account_prefs_update.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/account_prefs_update.php,v
retrieving revision 1.36
diff -b -r1.36 account_prefs_update.php
59a60
> $t_prefs->email_on_moved = gpc_get_bool( 'email_on_moved' );
68a70
> $t_prefs->email_on_moved_min_severity = gpc_get_int( 'email_on_moved_min_severity' );
Index: bug_actiongroup.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/bug_actiongroup.php,v
retrieving revision 1.52
diff -b -r1.52 bug_actiongroup.php
90,91c90
< bug_set_field( $t_bug_id, 'project_id', $f_project_id );
< helper_call_custom_function( 'issue_update_notify', array( $t_bug_id ) );
---
> bug_move( $t_bug_id, $f_project_id );
Index: config_defaults_inc.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/config_defaults_inc.php,v
retrieving revision 1.365
diff -b -r1.365 config_defaults_inc.php
681a682
> $g_default_email_on_moved = OFF;
690a692
> $g_default_email_on_moved_minimum_severity = OFF;
Index: manage_config_email_page.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/manage_config_email_page.php,v
retrieving revision 1.10
diff -b -r1.10 manage_config_email_page.php
245a246
> get_capability_row_for_email( lang_get( 'email_on_moved' ), 'moved' );
Index: manage_config_email_set.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/manage_config_email_set.php,v
retrieving revision 1.10
diff -b -r1.10 manage_config_email_set.php
38c38
< $t_valid_actions = array( 'owner', 'reopened', 'deleted', 'bugnote' );
---
> $t_valid_actions = array( 'owner', 'moved', 'reopened', 'deleted', 'bugnote' );
Index: core/bug_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/bug_api.php,v
retrieving revision 1.111
diff -b -r1.111 bug_api.php
917a918,925
> # --------------------
> # Moves a bug with the given id to the defined project
> function bug_move ( $p_bug_id, $p_project_id ) {
> bug_set_field( $p_bug_id, 'project_id', $p_project_id );
> email_moved( $p_bug_id );
> return true;
> }
>
Index: core/email_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/email_api.php,v
retrieving revision 1.139
diff -b -r1.139 email_api.php
616a617,621
> # send notices when a bug is moved
> function email_moved( $p_bug_id ) {
> email_generic( $p_bug_id, 'moved', 'email_notification_title_for_action_bug_moved' );
> }
> # --------------------
Index: core/user_pref_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/user_pref_api.php,v
retrieving revision 1.32
diff -b -r1.32 user_pref_api.php
30a31
> 'email_on_moved' => 'default_email_on_moved',
39a41
> 'email_on_moved_min_severity' => 'default_email_on_moved_minimum_severity',
64a67
> var $email_on_moved = NULL;
73a77
> var $email_on_moved_min_severity = NULL;
Index: lang/strings_english.txt
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/lang/strings_english.txt,v
retrieving revision 1.316
diff -b -r1.316 strings_english.txt
347a348
> $s_email_notification_title_for_action_bug_moved = 'The following issue has been MOVED.';
420a422
> $s_email_on_moved = 'Email when Moved';