Skip to content

Commit

Permalink
remove unused parameters in string_get_bug_view_url_with_fqdn calls
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Nov 3, 2015
1 parent ffd78e0 commit 8ea4042
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/email_api.php
Expand Up @@ -1207,7 +1207,7 @@ function email_bug_reminder( $p_recipients, $p_bug_id, $p_message ) {
$t_sender_email = '';
}
$t_header = "\n" . lang_get( 'on_date' ) . ' ' . $t_date . ', ' . $t_sender . ' ' . $t_sender_email . lang_get( 'sent_you_this_reminder_about' ) . ': ' . "\n\n";
$t_contents = $t_header . string_get_bug_view_url_with_fqdn( $p_bug_id, $t_recipient ) . " \n\n" . $p_message;
$t_contents = $t_header . string_get_bug_view_url_with_fqdn( $p_bug_id ) . " \n\n" . $p_message;

$t_id = email_store( $t_email, $t_subject, $t_contents );
if( $t_id !== null ) {
Expand Down
2 changes: 1 addition & 1 deletion core/string_api.php
Expand Up @@ -367,7 +367,7 @@ function( $p_array ) {
if( bug_exists( (int)$p_array[2] ) ) {
# Create link regardless of user's access to the bug
return $p_array[1] .
string_get_bug_view_url_with_fqdn( (int)$p_array[2], null );
string_get_bug_view_url_with_fqdn( (int)$p_array[2] );
}
return $p_array[0];
}; # end of bug link callback closure
Expand Down

0 comments on commit 8ea4042

Please sign in to comment.