Skip to content

Commit

Permalink
Remove unused parameter $p_user from function string_get_bug_update_page
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Nov 11, 2015
1 parent 21871a7 commit a260d12
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions core/string_api.php
Expand Up @@ -750,16 +750,14 @@ function string_get_bug_update_link( $p_bug_id, $p_user_id = null ) {
* @return string
*/
function string_get_bug_update_url( $p_bug_id, $p_user_id = null ) {
return string_get_bug_update_page( $p_user_id ) . '?bug_id=' . $p_bug_id;
return string_get_bug_update_page() . '?bug_id=' . $p_bug_id;
}

/**
* return the name of a bug UPDATE page for the user
* account for the user preference and site override
* @param integer $p_user_id A valid user identifier.
* return the name of a bug UPDATE page
* @return string
*/
function string_get_bug_update_page( $p_user_id = null ) {
function string_get_bug_update_page() {
return string_get_bug_page( 'update' );
}

Expand Down

0 comments on commit a260d12

Please sign in to comment.