Skip to content

Commit

Permalink
Remove unused html_button_wiki()
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed Aug 25, 2019
1 parent 68144b4 commit 224cfcb
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions core/html_api.php
Expand Up @@ -991,19 +991,6 @@ function html_button( $p_action, $p_button_text, array $p_fields = array(), $p_m
echo '</form>' . "\n";
}

/**
* Print a button to create a wiki page
* @param integer $p_bug_id A valid bug identifier.
* @return void
*/
function html_button_wiki( $p_bug_id ) {
if( config_get_global( 'wiki_enable' ) == ON ) {
if( access_has_bug_level( config_get( 'update_bug_threshold' ), $p_bug_id ) ) {
html_button( 'wiki.php', lang_get_defaulted( 'Wiki' ), array( 'id' => $p_bug_id, 'type' => 'issue' ), 'get' );
}
}
}

/**
* Get the foreground color CSS class for the given status, user and project.
* @see html_get_status_css_bg() for background color
Expand Down

0 comments on commit 224cfcb

Please sign in to comment.