Skip to content

Commit

Permalink
Remove unused parameter $p_user from function string_get_bug_update_link
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Nov 11, 2015
1 parent 82a9097 commit 8e36a8a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/string_api.php
Expand Up @@ -732,12 +732,10 @@ function string_get_bug_view_page( $p_user_id = null ) {

/**
* return an href anchor that links to a bug UPDATE page for the given bug
* account for the user preference and site override
* @param integer $p_bug_id A bug identifier.
* @param integer $p_user_id A valid user identifier.
* @return string
*/
function string_get_bug_update_link( $p_bug_id, $p_user_id = null ) {
function string_get_bug_update_link( $p_bug_id ) {
$t_summary = string_attribute( bug_get_field( $p_bug_id, 'summary' ) );
return '<a href="' . helper_mantis_url( string_get_bug_update_url( $p_bug_id ) ) . '" title="' . $t_summary . '">' . bug_format_id( $p_bug_id ) . '</a>';
}
Expand Down

0 comments on commit 8e36a8a

Please sign in to comment.