Skip to content

Commit

Permalink
email_status_change to email_bug_status_changed
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed Aug 7, 2015
1 parent be02473 commit 7dc0af2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bug_update.php
Expand Up @@ -430,7 +430,7 @@
} else if( $t_existing_bug->status !== $t_updated_bug->status ) {
$t_new_status_label = MantisEnum::getLabel( config_get( 'status_enum_string' ), $t_updated_bug->status );
$t_new_status_label = str_replace( ' ', '_', $t_new_status_label );
email_status_change( $f_bug_id, $t_new_status_label );
email_bug_status_changed( $f_bug_id, $t_new_status_label );
} else {
email_bug_updated( $f_bug_id );
}
Expand Down
2 changes: 1 addition & 1 deletion core/bug_api.php
Expand Up @@ -703,7 +703,7 @@ function update( $p_update_extended = false, $p_bypass_mail = false ) {
if( $t_old_data->status != $this->status ) {
$t_status = MantisEnum::getLabel( config_get( 'status_enum_string' ), $this->status );
$t_status = str_replace( ' ', '_', $t_status );
email_status_change( $c_bug_id, $t_status );
email_bug_status_changed( $c_bug_id, $t_status );
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion core/email_api.php
Expand Up @@ -843,7 +843,7 @@ function email_bug_assigned( $p_bug_id ) {
* @param int $p_bug_id The bug id
* @param string $p_new_status_label The new status label.
*/
function email_status_change( $p_bug_id, $p_new_status_label ) {
function email_bug_status_changed( $p_bug_id, $p_new_status_label ) {
email_generic( $p_bug_id, $p_new_status_label, 'email_notification_title_for_status_bug_' . $p_new_status_label );
}

Expand Down

0 comments on commit 7dc0af2

Please sign in to comment.