Navigation Menu

Skip to content

Commit

Permalink
Remove unused parameter $p_user from function string_get_bug_report_link
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Nov 11, 2015
1 parent 9697d17 commit 21871a7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/string_api.php
Expand Up @@ -764,12 +764,10 @@ function string_get_bug_update_page( $p_user_id = null ) {
}

/**
* return an href anchor that links to a bug REPORT page for the given bug
* account for the user preference and site override
* @param integer $p_user_id A valid user identifier.
* return an href anchor that links to a bug REPORT page
* @return string
*/
function string_get_bug_report_link( $p_user_id = null ) {
function string_get_bug_report_link() {
return '<a href="' . helper_mantis_url( string_get_bug_report_url() ) . '">' . lang_get( 'report_bug_link' ) . '</a>';
}

Expand Down

0 comments on commit 21871a7

Please sign in to comment.