Skip to content

Commit

Permalink
removed get_bug_link_email - unused
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@314 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Jul 19, 2001
1 parent 316a833 commit 0e8930b
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions core_print_API.php
Expand Up @@ -470,28 +470,6 @@ function get_bug_link( $p_id ) {
}
}
### --------------------
### returns a href link to a bug given an ID
### it accounts for the user preference and site override
function get_bug_link_email( $p_id ) {
global $g_view_bug_page, $g_view_bug_advanced_page, $g_show_view;

switch ( $g_show_view ) {
case 0:
if ( get_current_user_pref_field( "advanced_view" )==1 ) {
return "http://$g_view_bug_advanced_page?f_id=$p_id";
} else {
return "http://$g_view_bug_page?f_id=$p_id";
}
break;
case 1:
return "http://$g_view_bug_page?f_id=$p_id";
break;
case 2:
return "http://$g_view_bug_advanced_page?f_id=$p_id";
break;
}
}
### --------------------
# formats the severity given the status
# shows the severity in BOLD if the bug is NOT closed and is of significant severity
function print_formatted_severity_string( $p_status, $p_severity ) {
Expand Down

0 comments on commit 0e8930b

Please sign in to comment.